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:
java.io.Serializable
public class PropertyException extends FOPException
Class for managing exceptions that are raised in Property processing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyException(java.lang.Exception cause)
ConstructorPropertyException(java.lang.String detail)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Returns the detail message string of this FOP exception.void
setPropertyInfo(PropertyInfo propInfo)
Sets the property context information.void
setPropertyName(java.lang.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, setLocator
-
-
-
-
Constructor Detail
-
PropertyException
public PropertyException(java.lang.String detail)
Constructor- Parameters:
detail
- string containing the detail message
-
PropertyException
public PropertyException(java.lang.Exception cause)
Constructor- Parameters:
cause
- the Exception causing this PropertyException
-
-
Method Detail
-
setPropertyInfo
public void setPropertyInfo(PropertyInfo propInfo)
Sets the property context information.- Parameters:
propInfo
- the property info instance
-
setPropertyName
public void setPropertyName(java.lang.String propertyName)
Sets the name of the property.- Parameters:
propertyName
- the property name
-
getMessage
public java.lang.String 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:
getMessage
in classFOPException
- Returns:
- the detail message string of this FOP exception
-
-