|
J2EE1.4 SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base interface for all OperationStatus objects.
Field Summary | |
static int |
STATUS_CODE_FAILURE
Status code indicating failure of the operation. |
static java.lang.String |
STATUS_CODE_KEY
Key used to look up the status code (if any) from the Map. |
static int |
STATUS_CODE_SUCCESS
Status code indicating success of the operation. |
static int |
STATUS_CODE_WARNING
Status code indicating success, with warning. |
static java.lang.String |
THROWABLE_KEY
Key used to look up the Throwable (if any) from the Map. |
Fields inherited from interface com.sun.appserv.management.base.MapCapable |
MAP_CAPABLE_CLASS_NAME_KEY |
Method Summary | |
int |
getStatusCode()
If there is no explicit status code, an operation is considered successful if nothing was thrown. |
java.lang.Throwable |
getThrowable()
If a Throwable was thrown, this implies some degree of failure from partial to total. |
Methods inherited from interface com.sun.appserv.management.base.MapCapable |
asMap, getMapClassName |
Field Detail |
public static final java.lang.String THROWABLE_KEY
public static final java.lang.String STATUS_CODE_KEY
getStatusCode()
.
public static final int STATUS_CODE_SUCCESS
public static final int STATUS_CODE_FAILURE
public static final int STATUS_CODE_WARNING
Method Detail |
public int getStatusCode()
Legal status codes include:
public java.lang.Throwable getThrowable()
|
J2EE1.4 SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.