Class CannotConstructException

All Implemented Interfaces:
Serializable

public class CannotConstructException extends AssemblerException
Exception used to report a failure of a group assembler to construct an object because there is no component assembler associated with the object's most specific type.
See Also:
  • Constructor Details

    • CannotConstructException

      public CannotConstructException(Class<?> assemblerClass, Resource root, Resource type)
  • Method Details

    • getAssemblerClass

      public Class<?> getAssemblerClass()
      Answer the Assembler that cannot do the construction.
    • getType

      public Resource getType()
      Answer the (alleged most-specific) type of the object that could not be constructed.