Package COM.TIBCO.hawk.talon
Class MicroAgentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
COM.TIBCO.hawk.talon.MicroAgentException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MicroAgentNotFoundException
An exception used to signal errors when interacting with microagents.
It may be used directly or as a container for other exceptions.
When used as a container, the embedded exception is stored
in its serialized form. A ClassNotFound exception may be thrown
by the getException() method if the class of the contained
exception is not available on the receiving JVM.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a MicroAgentException with an embedded exception.Constructs a MicroAgentException with a detailed message.MicroAgentException(String msg, Exception e) Constructs a MicroAgentException with an embedded exception and a detailed message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MicroAgentException
Constructs a MicroAgentException with a detailed message.- Parameters:
msg- The detailed message.
-
MicroAgentException
Constructs a MicroAgentException with an embedded exception.Sets the detailed message to be the same as the embedded exception.
- Parameters:
e- The exception to embed.- Throws:
IOException- If there is a problem serializing the embedded exception.
-
MicroAgentException
Constructs a MicroAgentException with an embedded exception and a detailed message.- Parameters:
msg- The detailed message.e- The exception to embed.- Throws:
IOException- If there is a problem serializing the embedded exception.
-
-
Method Details
-
getException
Returns the embedded exception.- Throws:
IOException- If there is a problem de-serializing the embedded exception.ClassNotFoundException- if the class of the embedded exception is not found.
-