javax.slee
Class UnrecognizedActivityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.slee.SLEEException
javax.slee.UnrecognizedActivityException
- All Implemented Interfaces:
- java.io.Serializable
public class UnrecognizedActivityException
- extends SLEEException
This exception is thrown if the activity object supplied to an activity
context interface factory method is not an activity generated by a resource
adaptor installed in the SLEE. For example, an activity object directly
instantiated by an SBB via 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.
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Object |
getActivity()
Get the activity that was unrecognized. |
| 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 |
UnrecognizedActivityException
public UnrecognizedActivityException(java.lang.Object activity)
- Create an
UnrecognizedActivityException with no detail message.
- Parameters:
activity - the unrecognized activity.
UnrecognizedActivityException
public UnrecognizedActivityException(java.lang.String message,
java.lang.Object activity)
- Create an
UnrecognizedActivityException with a detail message.
- Parameters:
message - the detail messageactivity - the unrecognized activity.
getActivity
public final java.lang.Object getActivity()
- Get the activity that was unrecognized.
- Returns:
- the activity that was unrecognized.
Copyright © 2009. All Rights Reserved.