Package com.quartetfs.fwk
Class AgentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.activeviam.fwk.ActiveViamException
-
- com.quartetfs.fwk.AgentException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AgentState.TransientAgentException,InvalidLicenseException
public class AgentException extends ActiveViamException
Base exception for all Sink and source AgentException.- Author:
- ActiveViam
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AgentException(String msg)Constructs aAgentExceptionwith the specified detail message.AgentException(String messageKey, Object... parameters)Constructor.AgentException(String msg, Throwable cause)Constructs aAgentExceptionwith the specified detail message and cause.AgentException(Throwable cause)Constructs aAgentExceptionwith the specified cause.AgentException(Throwable exception, String messageKey, Object... parameters)Constructor.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AgentException
public AgentException(String msg)
Constructs aAgentExceptionwith the specified detail message.- Parameters:
msg- the detail message
-
AgentException
public AgentException(String msg, Throwable cause)
Constructs aAgentExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the cause of the exception.
-
AgentException
public AgentException(Throwable cause)
Constructs aAgentExceptionwith the specified cause.- Parameters:
cause- The cause of the exception.
-
AgentException
public AgentException(Throwable exception, String messageKey, Object... parameters)
Constructor.- Parameters:
exception- The causemessageKey- message templateparameters- parameters to inject into the message template
-
-