Class NotExpectedTypeException

All Implemented Interfaces:
Serializable

public class NotExpectedTypeException extends AssemblerException
Exception to throw when some (dynamically loaded) class isn't of the required type.
See Also:
  • Constructor Details

    • NotExpectedTypeException

      public NotExpectedTypeException(Resource root, Class<?> expectedType, Class<?> actualType)
  • Method Details

    • getExpectedType

      public Class<?> getExpectedType()
    • getActualType

      public Class<?> getActualType()