org.objectweb.telosys.rpl.xml.output
Class OutputError

java.lang.Object
  extended byorg.objectweb.telosys.rpl.xml.output.OutputError
Direct Known Subclasses:
DataOutputError, ViewOutputError

public abstract class OutputError
extends java.lang.Object

Holds an error that occurs durring the XML response generation

Since:
1.0.5

Constructor Summary
OutputError(java.lang.String message)
          Constructor
OutputError(java.lang.Throwable exception)
          Constructor
 
Method Summary
 java.lang.Throwable getException()
          Returns the exception that causes the error (or null if no exception)
 java.lang.String getMessage()
          Returns the specific message if set, else the exception message if any.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputError

public OutputError(java.lang.Throwable exception)
Constructor

Parameters:
exception -

OutputError

public OutputError(java.lang.String message)
Constructor

Parameters:
message -
Method Detail

getException

public java.lang.Throwable getException()
Returns the exception that causes the error (or null if no exception)

Returns:

getMessage

public java.lang.String getMessage()
Returns the specific message if set, else the exception message if any.

Returns:
the message or "" (never null)