org.curjent.agent
Class ExpiredException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.curjent.agent.AgentException
                  extended by org.curjent.agent.ExpiredException
All Implemented Interfaces:
Serializable

public class ExpiredException
extends AgentException

Call waited too long to begin executing.

See Also:
Expiration, Serialized Form

Field Summary
private  AgentCall<?> call
          Call that expired.
private static long serialVersionUID
          Java Object serialization id.
 
Constructor Summary
ExpiredException()
          Exception with a null message and cause.
ExpiredException(AgentCall<?> call)
          Call that expired.
ExpiredException(String message)
          Exception with a given message and a null cause.
ExpiredException(String message, Throwable cause)
          Exception with a given message and cause.
ExpiredException(Throwable cause)
          Exception with a null message and a given cause.
 
Method Summary
 AgentCall<?> getExpiredCall()
          Get the call that expired.
 void setExpiredCall(AgentCall<?> call)
          Set the call that expired.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Java Object serialization id.

See Also:
Constant Field Values

call

private transient AgentCall<?> call
Call that expired.

Constructor Detail

ExpiredException

public ExpiredException()
Exception with a null message and cause.

See Also:
Throwable.Throwable()

ExpiredException

public ExpiredException(String message)
Exception with a given message and a null cause. The given message may be empty or null.

See Also:
Throwable.Throwable(String)

ExpiredException

public ExpiredException(Throwable cause)
Exception with a null message and a given cause. The given cause may be null.

See Also:
Throwable.Throwable(Throwable)

ExpiredException

public ExpiredException(String message,
                        Throwable cause)
Exception with a given message and cause. The given message may be empty or null, and the given cause may be null.

See Also:
Throwable.Throwable(String, Throwable)

ExpiredException

public ExpiredException(AgentCall<?> call)
Call that expired. May be null. The call is saved in a transient field and is therefore not serialized and is null when deserialized.

Method Detail

getExpiredCall

public AgentCall<?> getExpiredCall()
Get the call that expired. May be null.


setExpiredCall

public void setExpiredCall(AgentCall<?> call)
Set the call that expired. May be null. The call is saved in a transient field and is therefore not serialized and is null when deserialized.



Copyright 2009-2011 Tom Landon
Apache License 2.0