public class AgentException extends Exception
Agentfactory
when an error is
raised during the initialization.Modifier and Type | Field and Description |
---|---|
private Throwable |
cause
This class does not use the
initCause
because this class handles the deserialization
of the cause that may fail if its class is
unknown. |
private static long |
serialVersionUID |
Constructor and Description |
---|
AgentException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Overrides the
Throwable behavior
in order to handle the deserialization
of the cause that may fail if its class
is unknown. |
private void |
readObject(ObjectInputStream in) |
private void |
writeObject(ObjectOutputStream out) |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
private Throwable cause
initCause
because this class handles the deserialization
of the cause that may fail if its class is
unknown.public AgentException(Throwable cause)
public final Throwable getCause()
Throwable
behavior
in order to handle the deserialization
of the cause that may fail if its class
is unknown.private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
ClassNotFoundException
IOException
Copyright © 2019 ScalAgent D.T.. All rights reserved.