TPTP 4.4.0 Monitoring Tools Project
Public API Specification

org.eclipse.hyades.logging.adapter.util
Class AdapterMigrationException

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.util.AdapterMigrationException
All Implemented Interfaces:
java.io.Serializable

public class AdapterMigrationException
extends AdapterInvalidConfig

An adapter configuration migration exception

See Also:
Serialized Form

Constructor Summary
AdapterMigrationException()
          Default constructor
AdapterMigrationException(java.lang.String message)
          Create an AdapterMigrationException with a message.
AdapterMigrationException(java.lang.String message, java.lang.Throwable cause)
          Create an AdapterMigrationException with a message and a cause.
AdapterMigrationException(java.lang.Throwable cause)
          Create an AdapterMigrationException with a cause.
 
Method Summary
 java.lang.String getAttributeName()
          Get the name of the attribute that caused the migration exception.
 java.lang.String getDetails()
          Get the details of this exception.
 java.lang.String getElementName()
          Get the name of the element that caused the migration exception.
 void setAttributeName(java.lang.String string)
          Set the name of the attribute that caused the migration exception.
 void setDetails(java.lang.String details)
          Set the details of this exception
 void setElementName(java.lang.String name)
          Set the name of the element that caused the migration exception.
 
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

AdapterMigrationException

public AdapterMigrationException()
Default constructor


AdapterMigrationException

public AdapterMigrationException(java.lang.String message)
Create an AdapterMigrationException with a message.

Parameters:
message - - message string

AdapterMigrationException

public AdapterMigrationException(java.lang.String message,
                                 java.lang.Throwable cause)
Create an AdapterMigrationException with a message and a cause.

Parameters:
message - - message string
cause - - Throwable cause

AdapterMigrationException

public AdapterMigrationException(java.lang.Throwable cause)
Create an AdapterMigrationException with a cause.

Parameters:
cause - - Throwable cause
Method Detail

getDetails

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

Returns:
details string

setDetails

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

Parameters:
details - string

getElementName

public java.lang.String getElementName()
Get the name of the element that caused the migration exception.

Returns:
element name

setElementName

public void setElementName(java.lang.String name)
Set the name of the element that caused the migration exception.

Parameters:
name - of the element

getAttributeName

public java.lang.String getAttributeName()
Get the name of the attribute that caused the migration exception.

Returns:
name of the attribute

setAttributeName

public void setAttributeName(java.lang.String string)
Set the name of the attribute that caused the migration exception.

Parameters:
string - attribute name

TPTP 4.4.0 Monitoring Tools Project
Public API Specification