|
"WEBNMS_5 API Docs" | ||||||||
| 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.nms.admin.ShutDownException
public class ShutDownException
ShutDownException is the extension of java.lang.Exception which is used to clearly explain the circumstances in which ShutDown didn't happen
| Field Summary | |
|---|---|
static int |
AUTHENTICATION_FAILURE
Error code for Authentication failure |
static int |
AUTHORIZATION_FAILURE
Error code for Authorization failure |
static int |
WARNING_MESSAGE
Error code for warning messages |
| Constructor Summary | |
|---|---|
ShutDownException(java.lang.String errormessage,
java.lang.Throwable exception)
Constructs the exception with the error message as well as throwable.You can even pass null to throwable. |
|
ShutDownException(java.lang.String errormessage,
java.lang.Throwable exception,
int errorCode)
Constructs the exception with the error message , throwable and error code |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Method for getting error code. |
void |
setErrorCode(int errorCode)
Method for setting error code for this Exception |
| 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 |
|---|
public static int AUTHENTICATION_FAILURE
public static int AUTHORIZATION_FAILURE
public static int WARNING_MESSAGE
| Constructor Detail |
|---|
public ShutDownException(java.lang.String errormessage,
java.lang.Throwable exception)
errormessage - The error message for this exceptionexception - Throwable for this exception
public ShutDownException(java.lang.String errormessage,
java.lang.Throwable exception,
int errorCode)
errormessage - Error message for this Exceptionexception - Throwable for this exception. Even null can be passed for this parametererrorCode - Error code for this Exception. It may be any one of error codes explained
above| Method Detail |
|---|
public int getErrorCode()
public void setErrorCode(int errorCode)
errorCode - Can be any one of error codes mentioned above
|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||