public class CreateException extends Exception
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.Constructor and Description |
---|
CreateException(String message)
Create a
CreateException with a detail message. |
CreateException(String message,
Throwable cause)
Create a
CreateException with a detail message and cause. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Get the cause (if any) for this exception.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CreateException(String message)
CreateException
with a detail message.message
- the detail message.