javax.slee
Class CreateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.slee.CreateException
- All Implemented Interfaces:
- java.io.Serializable
public class CreateException
- extends java.lang.Exception
This exception is thrown by the ChildRelation.create() method if an attempt
to create an SBB entity cannot be completed successfully. The Sbb.sbbCreate()
and Sbb.sbbPostCreate() methods include this exception in their throws
clause to give the SBB entity being created a chance to abort the create operation if
conditions are not met.
- See Also:
- Serialized Form
|
Constructor Summary |
CreateException(java.lang.String message)
Create a CreateException with a detail message. |
CreateException(java.lang.String message,
java.lang.Throwable cause)
Create a CreateException 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 |
CreateException
public CreateException(java.lang.String message)
- Create a
CreateException with a detail message.
- Parameters:
message - the detail message.
CreateException
public CreateException(java.lang.String message,
java.lang.Throwable cause)
- Create a
CreateException with a detail message and cause.
- Parameters:
message - the detail message.cause - the reason this exception was thrown.
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.