Class InvalidPropertyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidPropertyException
    extends java.lang.RuntimeException
    Thrown when a property cannot be set or retrieved by a service class.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends java.lang.Object> getAffectedClass()  
      • Methods inherited from class java.lang.Throwable

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

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

      • InvalidPropertyException

        public InvalidPropertyException​(java.lang.String message,
                                        java.lang.Class<? extends java.lang.Object> affectedClass)
        Create a new InvalidPropertyException with the given invalid class
        Parameters:
        message - A message stating the exception
        affectedClass - The class where the invalid property was requested
      • InvalidPropertyException

        public InvalidPropertyException​(java.lang.String message,
                                        java.lang.Class<? extends java.lang.Object> affectedClass,
                                        java.lang.Throwable cause)
      • InvalidPropertyException

        public InvalidPropertyException​(java.lang.String message)
    • Method Detail

      • getAffectedClass

        public java.lang.Class<? extends java.lang.Object> getAffectedClass()