public class UnrecognizedActivityException extends SLEEException
new <type>(...)
would raise an
UnrecognizedActivityException
if given to an activity context interface
factory method.
As of SLEE 1.1 this class extends SLEEException
instead of Exception
.
Constructor and Description |
---|
UnrecognizedActivityException(Object activity)
Create an
UnrecognizedActivityException with no detail message. |
UnrecognizedActivityException(String message,
Object activity)
Create an
UnrecognizedActivityException with a detail message. |
Modifier and Type | Method and Description |
---|---|
Object |
getActivity()
Get the activity that was unrecognized.
|
getCause
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnrecognizedActivityException(Object activity)
UnrecognizedActivityException
with no detail message.activity
- the unrecognized activity.public final Object getActivity()