TPTP 4.4.0 Monitoring Tools Project
Public API Specification

org.eclipse.hyades.logging.adapter
Class AdapterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.eclipse.hyades.logging.adapter.AdapterException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AdapterInvalidConfig, InvalidFilterSpecification

public class AdapterException
extends java.lang.Exception

This Exception represents a general Generic Log Adapter failure.

See Also:
Serialized Form

Constructor Summary
AdapterException()
          Constructor for AdapterException.
AdapterException(java.lang.String message)
          Create an AdapterException with the specified message.
AdapterException(java.lang.String message, java.lang.Throwable cause)
          Create an AdapterException with the specified message and cause exception.
AdapterException(java.lang.Throwable cause)
          Create an AdapterException with the specified cause exception.
 
Method Summary
 java.lang.Throwable getException()
          Return the embedded exception, if any.
 java.lang.String getMessage()
          Return a detail message for this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdapterException

public AdapterException()
Constructor for AdapterException.


AdapterException

public AdapterException(java.lang.String message)
Create an AdapterException with the specified message.

Parameters:
message -

AdapterException

public AdapterException(java.lang.String message,
                        java.lang.Throwable cause)
Create an AdapterException with the specified message and cause exception.

Parameters:
message -
cause -

AdapterException

public AdapterException(java.lang.Throwable cause)
Create an AdapterException with the specified cause exception.

Parameters:
cause -
Method Detail

getMessage

public java.lang.String getMessage()
Return a detail message for this exception.

If there is an embedded exception, and if the AdapterException has no detail message of its own, this method will return the detail message from the embedded exception.

If there is an embedded exception, and the AdapterException has a detail message of its own, this method will append the embedded exception message to the AdapterException message and return it.

Returns:
The error or warning message.

getException

public java.lang.Throwable getException()
Return the embedded exception, if any.

Returns:
The embedded exception, or null if there is none.

TPTP 4.4.0 Monitoring Tools Project
Public API Specification