org.nhindirect.stagent
Class AgentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.nhindirect.stagent.NHINDException
                  extended by org.nhindirect.stagent.AgentException
All Implemented Interfaces:
Serializable

public class AgentException
extends NHINDException

Exception thrown in the agent's operational flow.

Author:
Greg Meyer, Umesh Madan
See Also:
Serialized Form

Constructor Summary
AgentException(AgentError error)
           
AgentException(AgentError error, Exception innerException)
          Constructs an exception with the agent error and the exception that caused the error.
AgentException(AgentError error, String message)
          Constructs an exception with a message and the agent error.
AgentException(AgentError error, String message, Exception innerException)
          Constructs an exception with the agent error, a message, and the exception that caused the error.
 
Method Summary
 
Methods inherited from class org.nhindirect.stagent.NHINDException
getError, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentException

public AgentException(AgentError error)

AgentException

public AgentException(AgentError error,
                      String message)
Constructs an exception with a message and the agent error.

Parameters:
error - The agent error
msg - The exception message.

AgentException

public AgentException(AgentError error,
                      Exception innerException)
Constructs an exception with the agent error and the exception that caused the error.

Parameters:
error - The atent error.
innerException - The exception that caused the error.

AgentException

public AgentException(AgentError error,
                      String message,
                      Exception innerException)
Constructs an exception with the agent error, a message, and the exception that caused the error.

Parameters:
error - The agent error.
msg - The exception message.
innerException - The exception that caused the error.


Copyright © 2010-2014 NHIN Direct. All Rights Reserved.