Class PropertyException

All Implemented Interfaces:
Serializable

public class PropertyException extends FOPException
Class for managing exceptions that are raised in Property processing.
See Also:
  • Constructor Details

    • PropertyException

      public PropertyException(String detail)
      Constructor
      Parameters:
      detail - string containing the detail message
    • PropertyException

      public PropertyException(Exception cause)
      Constructor
      Parameters:
      cause - the Exception causing this PropertyException
  • Method Details

    • setPropertyInfo

      public void setPropertyInfo(PropertyInfo propInfo)
      Sets the property context information.
      Parameters:
      propInfo - the property info instance
    • setPropertyName

      public void setPropertyName(String propertyName)
      Sets the name of the property.
      Parameters:
      propertyName - the property name
    • getMessage

      public String getMessage()
      Returns the detail message string of this FOP exception. If a location was set, the message is prepended with it in the form
        SystemId:LL:CC: &the message&
       
      (the format used by most GNU tools)
      Overrides:
      getMessage in class FOPException
      Returns:
      the detail message string of this FOP exception