com.sap.workspaces
Class WorkspacesRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.workspaces.WorkspacesRuntimeException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MemberListException, ModuleLifecycleException
public class WorkspacesRuntimeException
- extends RuntimeException
Enterprise workspaces base exception
- See Also:
- Serialized Form
|
Method Summary |
String |
getErrorCode()
Return the error code that specifies the reason of failure |
void |
setErrorCode(String errorCode)
Set 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 |
INTERNAL_ERROR
public static final String INTERNAL_ERROR
- See Also:
- Constant Field Values
TIMEOUT
public static final String TIMEOUT
- See Also:
- Constant Field Values
WorkspacesRuntimeException
public WorkspacesRuntimeException(String message,
Throwable cause)
- Constructs a new workspace runtime exception with the specified detail message and cause.
- Parameters:
message - the detail message (which is saved for later retrieval by the #getMessage() method).cause - the cause (which is saved for later retrieval by the #getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
getErrorCode
public String getErrorCode()
- Return the error code that specifies the reason of failure
- Returns:
- code that specifies the reason of failure
setErrorCode
public void setErrorCode(String errorCode)
- Set the error code that specifies the reason of failure
- Parameters:
errorCode - code that specifies the reason of failure
Copyright 2010 SAP AG Complete Copyright Notice