SourceForge.net Logo
aXSL API 0.1

org.axsl.foR
Class FOTreeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.axsl.foR.FOTreeException
All Implemented Interfaces:
java.io.Serializable

public class FOTreeException
extends java.lang.Exception

Exception thrown when an axslFOTree implementation has a problem.

See Also:
Serialized Form

Constructor Summary
FOTreeException(java.lang.String message)
          Create a new FOTreeException.
FOTreeException(java.lang.String message, java.lang.Throwable cause)
          Create a new FOTreeException.
FOTreeException(java.lang.Throwable cause)
          Create a new FOTreeException.
 
Method Summary
 java.lang.String getMessage()
          
 boolean isContextSet()
          Indicates whether the context message has been set.
 void setContextMessage(java.lang.String newContextMessage)
          Sets the optional context message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FOTreeException

public FOTreeException(java.lang.String message)
Create a new FOTreeException. Identical to Exception.Exception(java.lang.String)

Parameters:
message - The detail message. The detail message is saved for later retrieval by the getMessage() method.
See Also:
Exception.Exception(java.lang.String)

FOTreeException

public FOTreeException(java.lang.Throwable cause)
Create a new FOTreeException. Identical to Exception.Exception(java.lang.Throwable)

Parameters:
cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
See Also:
Exception.Exception(java.lang.Throwable)

FOTreeException

public FOTreeException(java.lang.String message,
                       java.lang.Throwable cause)
Create a new FOTreeException. Identical to Exception.Exception(java.lang.String, java.lang.Throwable)

Parameters:
message - The detail message. The detail message is saved for later retrieval by the getMessage() method.
cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
See Also:
Exception.Exception(java.lang.String, java.lang.Throwable)
Method Detail

setContextMessage

public void setContextMessage(java.lang.String newContextMessage)
Sets the optional context message. The context message contains information about the file, line number, and column number of the element that caused the exception.

Parameters:
newContextMessage - The new context message.

isContextSet

public boolean isContextSet()
Indicates whether the context message has been set.

Returns:
True iff the context message has already been set.
See Also:
setContextMessage(String)

getMessage

public java.lang.String getMessage()


SourceForge.net Logo
aXSL API 0.1

This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.