Class PropTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PropTypeException
    extends PropException
    Exception thrown when a property is set and doesn't validate correctly with the value Object type.
    Author:
    Christopher Mindus
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      ConstructorDescription
      PropTypeException​(GProp<?> property, java.lang.String message)
      Creates a property exception with a message.
      PropTypeException​(GProp<?> property, java.lang.String message, java.lang.Throwable exception)
      Creates a property exception with a message and an exception cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PropTypeException

        public PropTypeException​(GProp<?> property,
                                 java.lang.String message)
        Creates a property exception with a message.
        Parameters:
        message - the detail message.
      • PropTypeException

        public PropTypeException​(GProp<?> property,
                                 java.lang.String message,
                                 java.lang.Throwable exception)
        Creates a property exception with a message and an exception cause.
        Parameters:
        property - the originator property.
        message - the detail message.
        exception - the exception, i.e. the real cause.
        Throws:
        java.lang.NullPointerException - if property parameter is null.