Class DynamicException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DynamicException
    extends EclipseLinkException
    Custom exception type that provides information about failure cases encountered when using a GenericEntity with TopLink. Any failures that are not specific to GenericEntity use will still involve the standard TopLink exceptions.
    See Also:
    Serialized Form
    Author:
    dclarke, mnorman
    Since:
    EclipseLink 1.2
    • Field Detail

      • INVALID_PROPERTY_GET_WRONG_TYPE

        public static final int INVALID_PROPERTY_GET_WRONG_TYPE
        See Also:
        Constant Field Values
      • INVALID_PROPERTY_SET_WRONG_TYPE

        public static final int INVALID_PROPERTY_SET_WRONG_TYPE
        See Also:
        Constant Field Values
      • ILLEGAL_DYNAMIC_CLASSWRITER

        public static final int ILLEGAL_DYNAMIC_CLASSWRITER
        See Also:
        Constant Field Values
      • DYNAMIC_ENTITY_NOT_FOUND

        public static final int DYNAMIC_ENTITY_NOT_FOUND
        See Also:
        Constant Field Values
      • DYNAMIC_ENTITY_HAS_NULL_TYPE

        public static final int DYNAMIC_ENTITY_HAS_NULL_TYPE
        See Also:
        Constant Field Values
      • ILLEGAL_PARENT_CLASSNAME

        public static final int ILLEGAL_PARENT_CLASSNAME
        See Also:
        Constant Field Values
      • INCOMPATIBLE_DYNAMIC_CLASSWRITERS

        public static final int INCOMPATIBLE_DYNAMIC_CLASSWRITERS
        See Also:
        Constant Field Values
    • Constructor Detail

      • DynamicException

        protected DynamicException​(java.lang.String message)
      • DynamicException

        protected DynamicException​(java.lang.String message,
                                   java.lang.Throwable throwable)