|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.curjent.agent.AgentException
public class AgentException
Generic agent exception and wrapper for undeclared checked exceptions. The
agent implementation prefers standard Java exceptions where appropriate, such
as NullPointerException and
IllegalArgumentException. An AgentException is
thrown when no other exception naturally fits. An agent will also wrap a
checked exception in an AgentException when the checked
exception is not explicitly declared by the agent's interface method; the
checked exception is available as the cause.
Throwable,
Throwable.getCause(),
Serialized Form| Constructor Summary | |
|---|---|
AgentException()
Exception with a null message and
cause. |
|
AgentException(String message)
Exception with a given message and a null
cause. |
|
AgentException(String message,
Throwable cause)
Exception with a given message and cause. |
|
AgentException(Throwable cause)
Exception with a null message and a given
cause. |
|
| Method Summary |
|---|
| 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 |
| Constructor Detail |
|---|
public AgentException()
null message and
cause.
Throwable.Throwable()public AgentException(String message)
message and a null
cause. The given message may be empty or
null.
Throwable.Throwable(String)public AgentException(Throwable cause)
null message and a given
cause. The given cause may be null.
Throwable.Throwable(Throwable)
public AgentException(String message,
Throwable cause)
message and cause. The
given message may be empty or null, and the
given cause may be null.
Throwable.Throwable(String, Throwable)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||