Package com.sap.ecm.api
Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.ecm.api.ServiceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RepositoryAlreadyExistsException
,RepositoryNotEmptyException
,RepositoryQuotaExceededException
Generic exception encapsulating other root causes.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceException
(String message) Constructs a new exception with the given message.ServiceException
(String message, Throwable throwable) Constructs a new exception with the given message and the given root cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceException
Constructs a new exception with the given message and the given root cause.- Parameters:
message
- The exceptions message.throwable
- The root cause.
-
ServiceException
Constructs a new exception with the given message.- Parameters:
message
- The exceptions message.
-