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:
- LinkException, MemberListException, ModuleLifecycleException
public class WorkspacesRuntimeException
- extends RuntimeException
Base exception of enterprise workspaces
- See Also:
- Serialized Form
|
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 |
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 message and cause.
- Parameters:
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.
getErrorCode
public String getErrorCode()
- Returns an error code that specifies the reason of failure
- Returns:
- A code that specifies the reason of failure
setErrorCode
public void setErrorCode(String errorCode)
- Sets the error code that specifies the reason of failure
- Parameters:
errorCode - code that specifies the reason of failure
Copyright 2011 SAP AG Complete Copyright Notice