Package fr.dyade.aaa.agent
Class AgentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- fr.dyade.aaa.agent.AgentException
-
- All Implemented Interfaces:
Serializable
public class AgentException extends Exception
Thrown by theAgentfactorywhen an error is raised during the initialization.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private ThrowablecauseThis class does not use theinitCausebecause this class handles the deserialization of the cause that may fail if its class is unknown.private static longserialVersionUIDDefine serialVersionUID for interoperability.
-
Constructor Summary
Constructors Constructor Description AgentException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetCause()Overrides theThrowablebehavior in order to handle the deserialization of the cause that may fail if its class is unknown.private voidreadObject(ObjectInputStream in)private voidwriteObject(ObjectOutputStream out)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Define serialVersionUID for interoperability.- See Also:
- Constant Field Values
-
cause
private Throwable cause
This class does not use theinitCausebecause this class handles the deserialization of the cause that may fail if its class is unknown.
-
-
Constructor Detail
-
AgentException
public AgentException(Throwable cause)
-
-
Method Detail
-
getCause
public final Throwable getCause()
Overrides theThrowablebehavior in order to handle the deserialization of the cause that may fail if its class is unknown.
-
writeObject
private void writeObject(ObjectOutputStream out) throws IOException
- Throws:
IOException
-
readObject
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
-