TPTP 4.3.0 Monitoring Tools Project
Public API Specification

org.eclipse.hyades.logging.adapter.parsers
Class PreparationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.eclipse.hyades.logging.adapter.AdapterException
              extended byorg.eclipse.hyades.logging.adapter.AdapterInvalidConfig
                  extended byorg.eclipse.hyades.logging.adapter.parsers.PreparationException
All Implemented Interfaces:
java.io.Serializable

public class PreparationException
extends AdapterInvalidConfig

A parser preparation exception.

See Also:
Serialized Form

Constructor Summary
PreparationException()
          Default constructor
PreparationException(java.lang.String message)
          Create a PreparationException with a message.
PreparationException(java.lang.String message, java.lang.Throwable cause)
          Create a PreparationException with a message and a cause exception.
PreparationException(java.lang.Throwable cause)
          Create a PreparationException with a cause exception.
 
Method Summary
 java.lang.String getDetails()
          Get the details for this exception
 java.lang.String getDigraph()
          Get the name of the property for which the PreparationException occurred.
 void setDetails(java.lang.String details)
          Set the details for this exception
 void setDigraph(java.lang.String graph)
          Set the name of the property for which the PreparationException occurred.
 
Methods inherited from class org.eclipse.hyades.logging.adapter.AdapterException
getException, getMessage
 
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

PreparationException

public PreparationException()
Default constructor


PreparationException

public PreparationException(java.lang.String message)
Create a PreparationException with a message.

Parameters:
message - - message string to add to the exception

PreparationException

public PreparationException(java.lang.String message,
                            java.lang.Throwable cause)
Create a PreparationException with a message and a cause exception.

Parameters:
message - - message string to add to the exception
cause - - a cause exception to add to the exception

PreparationException

public PreparationException(java.lang.Throwable cause)
Create a PreparationException with a cause exception.

Parameters:
cause - - a cause exception to add to the exception
Method Detail

getDetails

public java.lang.String getDetails()
Get the details for this exception

Returns:
the details string for this exception.

setDetails

public void setDetails(java.lang.String details)
Set the details for this exception

Parameters:
details - - the details string to add to the exception.

getDigraph

public java.lang.String getDigraph()
Get the name of the property for which the PreparationException occurred.

Returns:
the name of the property that encountered an error during its preparation.

setDigraph

public void setDigraph(java.lang.String graph)
Set the name of the property for which the PreparationException occurred.

Parameters:
graph - - the name of the property that encountered an error during its preparation.

TPTP 4.3.0 Monitoring Tools Project
Public API Specification