|
Enterprise Workspaces 1.1 | |||||||||
| 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
com.sap.workspaces.WorkspacesRuntimeException
public class WorkspacesRuntimeException
Base exception of enterprise workspaces
| Field Summary | |
|---|---|
static String |
INTERNAL_ERROR
Internal error |
static String |
SEARCH_CONDITION_TOO_WIDE
The search condition is too wide |
static String |
TIMEOUT
Timeout occurred |
| Constructor Summary | |
|---|---|
WorkspacesRuntimeException(String message,
Throwable cause)
Constructs a new workspace runtime exception with the specified message and cause. |
|
WorkspacesRuntimeException(String message,
Throwable cause,
String errorCode)
Constructs a new workspace runtime exception with the specified message and cause. |
|
| Method Summary | |
|---|---|
String |
getErrorCode()
Returns an error code that specifies the reason of failure |
void |
setErrorCode(String errorCode)
Sets the error code that specifies the reason of failure |
| 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 final String INTERNAL_ERROR
public static final String TIMEOUT
public static final String SEARCH_CONDITION_TOO_WIDE
| Constructor Detail |
|---|
public WorkspacesRuntimeException(String message,
Throwable cause,
String errorCode)
message - the detailed message, which is saved for later retrieval by the #getMessage() methodcause - the cause, which is saved for later retrieval by the #getCause() method. A null value indicates that the cause is nonexistent or unknown.errorCode - The code that specifies the reason of failure
public WorkspacesRuntimeException(String message,
Throwable cause)
message - the detailed message, which is saved for later retrieval by the #getMessage() methodcause - the cause, which is saved for later retrieval by the #getCause() method. A null value indicates that the cause is nonexistent or unknown.| Method Detail |
|---|
public String getErrorCode()
public void setErrorCode(String errorCode)
errorCode - code that specifies the reason of failure
|
Enterprise Workspaces 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||