fr.dyade.aaa.agent
Class AgentException

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

public class AgentException
extends java.lang.Exception

Thrown by the Agentfactory when an error is raised during the initialization.

See Also:
Serialized Form

Field Summary
private  java.lang.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 Summary
AgentException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.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(java.io.ObjectInputStream in)
           
private  void writeObject(java.io.ObjectOutputStream out)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

cause

private java.lang.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.

Constructor Detail

AgentException

public AgentException(java.lang.Throwable cause)
Method Detail

getCause

public final java.lang.Throwable getCause()
Overrides the Throwable behavior in order to handle the deserialization of the cause that may fail if its class is unknown.

Overrides:
getCause in class java.lang.Throwable
Returns:
the cause or null if its class is unknown.

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException
java.io.IOException


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.