flux.agent
Class AgentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by flux.agent.AgentException
All Implemented Interfaces:
java.io.Serializable

public class AgentException
extends java.lang.Exception

Indicates that a general failure has occurred when working with a Flux agent or related object.

Author:
Copyright 2014 Flux Corporation. All rights reserved.
See Also:
EngineException, Serialized Form

Constructor Summary
AgentException(java.lang.String message)
          Raises an agent exception with an explanation as to why the error occurred.
AgentException(java.lang.String message, java.lang.Throwable cause)
          Raises an agent exception with both an explanation as to why the error occurred and the cause of the error.
AgentException(java.lang.Throwable cause)
          Raises an agent exception with the cause of the error.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentException

public AgentException(java.lang.String message)
Raises an agent exception with an explanation as to why the error occurred.

Parameters:
message - The reason why the agent exception is being raised.

AgentException

public AgentException(java.lang.Throwable cause)
Raises an agent exception with the cause of the error.

Parameters:
cause - The cause of the agent exception being raised.

AgentException

public AgentException(java.lang.String message,
                      java.lang.Throwable cause)
Raises an agent exception with both an explanation as to why the error occurred and the cause of the error.

Parameters:
message - The reason why the agent exception is being raised.
cause - The cause of the agent exception being raised.


© 2014 Flux Corporation. All rights reserved.