fop 0.95

org.apache.fop.fo.expr
Class PropertyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.xml.sax.SAXException
              extended byorg.apache.fop.apps.FOPException
                  extended byorg.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
PropertyException(java.lang.Exception cause)
          Constructor
PropertyException(java.lang.String detail)
          Constructor
 
Method Summary
 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 form
  SystemId:LL:CC: &the message&
 
(the format used by most GNU tools)
 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
getRootException, isLocationSet, printStackTrace, printStackTrace, printStackTrace, setLocation, setLocator
 
Methods inherited from class org.xml.sax.SAXException
getException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

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 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

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.