Class PrincipalAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.cloud.sdk.cloudplatform.security.principal.exception.PrincipalAccessException
- All Implemented Interfaces:
Serializable
An exception that is thrown in case of any errors in the
PrincipalFacade
.- See Also:
-
Constructor Summary
ConstructorDescriptionPrincipalAccessException
(String message) Creates a newPrincipalAccessException
with the given message.PrincipalAccessException
(String message, Throwable cause) Creates a newPrincipalAccessException
with the given message and the given cause.Creates a newPrincipalAccessException
with the given 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
-
PrincipalAccessException
Creates a newPrincipalAccessException
with the given message.- Parameters:
message
- The message of thisPrincipalAccessException
.
-
PrincipalAccessException
Creates a newPrincipalAccessException
with the given cause.- Parameters:
cause
- The reason this exception is thrown.
-
PrincipalAccessException
Creates a newPrincipalAccessException
with the given message and the given cause.- Parameters:
message
- The message of thisPrincipalAccessException
.cause
- The reason this exception is thrown.
-
PrincipalAccessException
public PrincipalAccessException()
-