|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.adventnet.utilities.common.AgentException
public class AgentException
This is the Exception Class to handle Agent Exceptions and to report Agent side Errors.
| Constructor Summary | |
|---|---|
AgentException(java.lang.Exception e)
Constructs a AgentException with the specified Exception. |
|
AgentException(java.lang.String s,
byte b)
Constructs a AgentException with the specified detail message. |
|
| Method Summary | |
|---|---|
byte |
getExceptionCode()
Getter for the Exception code. |
java.lang.String |
getExceptionString()
Getter for the Exception String. |
java.lang.Exception |
getTargetException()
Getter for the Target Exception. |
void |
printStackTrace()
This method is to Print the StackTrace of the Exceptions thrown. |
java.lang.String |
toString()
Used to give string representation. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AgentException(java.lang.String s,
byte b)
s - the detail message about he Exception.b - The Exceprion code.public AgentException(java.lang.Exception e)
e - the Exception.| Method Detail |
|---|
public byte getExceptionCode()
public java.lang.String getExceptionString()
public java.lang.Exception getTargetException()
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||