Class PropertyAccessException

    • Constructor Detail

      • PropertyAccessException

        public PropertyAccessException​(PropertyChangeEvent propertyChangeEvent,
                                       String msg,
                                       Throwable cause)
        Create a new PropertyAccessException.
        Parameters:
        propertyChangeEvent - the PropertyChangeEvent that resulted in the problem
        msg - the detail message
        cause - the root cause
      • PropertyAccessException

        public PropertyAccessException​(String msg,
                                       Throwable cause)
        Create a new PropertyAccessException without PropertyChangeEvent.
        Parameters:
        msg - the detail message
        cause - the root cause
    • Method Detail

      • getValue

        public Object getValue()
        Return the affected value that was about to be set, if any.
      • getErrorCode

        public abstract String getErrorCode()
        Return a corresponding error code for this type of exception.
        Specified by:
        getErrorCode in interface ErrorCoded
        Returns:
        a String error code associated with this failure, or null if not error-coded