Class MicroAgentException

java.lang.Object
java.lang.Throwable
java.lang.Exception
COM.TIBCO.hawk.talon.MicroAgentException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MicroAgentNotFoundException

public class MicroAgentException extends Exception implements Serializable
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 Details

    • MicroAgentException

      public MicroAgentException(String msg)
      Constructs a MicroAgentException with a detailed message.
      Parameters:
      msg - The detailed message.
    • MicroAgentException

      public MicroAgentException(Exception e) throws IOException
      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

      public MicroAgentException(String msg, Exception e) throws IOException
      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