com.fatwire.agent
Class AgentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.fatwire.agent.AgentException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AccessDeniedException, FeatureNotSupportedException, InvalidArgumentException, IOException, NotFoundException, RuntimeException

public class AgentException
extends java.lang.Exception

Base class for all exceptions used in Agent. If a method in the Agent runtime throws an exception it must be derived from this class. This exception should not be thrown directly, a derived exception class should be used instead. Internationalization support is not provided "out-of-the-box". It is assumed to be done by implementations if needed.

See Also:
Serialized Form

Constructor Summary
AgentException()
           
AgentException(java.lang.String message)
           
AgentException(java.lang.String message, java.lang.Throwable cause)
           
AgentException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Constructor Detail

AgentException

public AgentException()
See Also:
Exception.Exception()

AgentException

public AgentException(java.lang.String message,
                      java.lang.Throwable cause)
Parameters:
message - error reason.
See Also:
Exception.Exception(java.lang.String, java.lang.Throwable)

AgentException

public AgentException(java.lang.String message)
Parameters:
message - error reason.
See Also:
Exception.Exception(java.lang.String)

AgentException

public AgentException(java.lang.Throwable cause)
See Also:
Exception.Exception(java.lang.Throwable)