javax.slee
Class SLEEException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.slee.SLEEException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ActivityAlreadyExistsException, ActivityIsEndingException, FacilityException, FactoryException, IllegalEventException, NoSuchObjectLocalException, NotAttachedException, NoUsageParametersInterfaceDefinedException, TransactionRequiredLocalException, TransactionRolledbackLocalException, UnrecognizedActivityException, UnrecognizedActivityHandleException

public class SLEEException
extends java.lang.RuntimeException

This exception is the base exception class for runtime SLEE exceptions.

See Also:
Serialized Form

Constructor Summary
SLEEException(java.lang.String message)
          Create a SLEEException with a detail message.
SLEEException(java.lang.String message, java.lang.Throwable cause)
          Create a SLEEException with a detail message and cause.
 
Method Summary
 java.lang.Throwable getCause()
          Get the cause (if any) for this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, 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

SLEEException

public SLEEException(java.lang.String message)
Create a SLEEException with a detail message.

Parameters:
message - the detail message.

SLEEException

public SLEEException(java.lang.String message,
                     java.lang.Throwable cause)
Create a SLEEException with a detail message and cause.

Parameters:
message - the detail message.
cause - the reason this exception was thrown.
Method Detail

getCause

public java.lang.Throwable getCause()
Get the cause (if any) for this exception.

Overrides:
getCause in class java.lang.Throwable
Returns:
the cause.


Copyright © 2009. All Rights Reserved.