Class PropValidateException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PropValidateException
    extends PropException
    Exception thrown when a property is set and doesn't validate correctly. This exception is typically used with the PropertyValidator class or the validate method for properties.
    Author:
    Christopher Mindus
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      ConstructorDescription
      PropValidateException​(GProp<?> property, java.lang.String message)
      Creates a property exception with a message.
    • 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

      • PropValidateException

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