com.sap.ecm.api
Class ServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sap.ecm.api.ServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RepositoryAlreadyExistsException, RepositoryNotEmptyException, RepositoryQuotaExceededException

public class ServiceException
extends RuntimeException

Generic exception encapsulating other root causes.

See Also:
Serialized Form

Constructor Summary
ServiceException(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
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
 

Constructor Detail

ServiceException

public ServiceException(String message,
                        Throwable throwable)
Constructs a new exception with the given message and the given root cause.

Parameters:
message - The exceptions message.
throwable - The root cause.

ServiceException

public ServiceException(String message)
Constructs a new exception with the given message.

Parameters:
message - The exceptions message.


Copyright © 2015 SAP. All Rights Reserved.