Package org.apache.fop.fo.expr
Class PropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xml.sax.SAXException
org.apache.fop.apps.FOPException
org.apache.fop.fo.expr.PropertyException
- All Implemented Interfaces:
Serializable
Class for managing exceptions that are raised in Property processing.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyException(Exception cause) ConstructorPropertyException(String detail) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the detail message string of this FOP exception.voidsetPropertyInfo(PropertyInfo propInfo) Sets the property context information.voidsetPropertyName(String propertyName) Sets the name of the property.Methods inherited from class org.apache.fop.apps.FOPException
getLocalizedMessage, getRootException, isLocationSet, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, setLocation, setLocatorMethods inherited from class org.xml.sax.SAXException
getCause, getException, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, initCause, setStackTrace
-
Constructor Details
-
PropertyException
Constructor- Parameters:
detail- string containing the detail message
-
PropertyException
Constructor- Parameters:
cause- the Exception causing this PropertyException
-
-
Method Details
-
setPropertyInfo
Sets the property context information.- Parameters:
propInfo- the property info instance
-
setPropertyName
Sets the name of the property.- Parameters:
propertyName- the property name
-
getMessage
Returns the detail message string of this FOP exception. If a location was set, the message is prepended with it in the formSystemId:LL:CC: &the message&
(the format used by most GNU tools)- Overrides:
getMessagein classFOPException- Returns:
- the detail message string of this FOP exception
-