public class SecurityException
extends java.lang.Exception
Modifier and Type | Class and Description |
---|---|
static class |
SecurityException.SecurityError |
Constructor and Description |
---|
SecurityException(java.lang.String message)
Constructor specifying the exception message.
|
SecurityException(java.lang.String message,
java.lang.Exception cause)
Constructor specifying the exception message and cause.
|
SecurityException(java.lang.String message,
java.lang.Exception cause,
SecurityException.SecurityError type)
Constructor specifying the exception message and cause.
|
SecurityException(java.lang.String message,
SecurityException.SecurityError type)
Constructor specifying the exception message and the authentication error type.
|
SecurityException(java.lang.Throwable cause)
Constructor specifying the exception cause.
|
SecurityException(java.lang.Throwable cause,
SecurityException.SecurityError type)
Constructor specifying the exception cause.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
SecurityException.SecurityError |
getSecurityError() |
void |
setSecurityError(SecurityException.SecurityError type) |
SecurityException |
withSecurityError(SecurityException.SecurityError type) |
public SecurityException(java.lang.String message)
message
- the exception messagepublic SecurityException(java.lang.String message, SecurityException.SecurityError type)
message
- the exception messagetype
- the error typepublic SecurityException(java.lang.Throwable cause)
cause
- the exception causepublic SecurityException(java.lang.Throwable cause, SecurityException.SecurityError type)
cause
- the exception causetype
- the error typepublic SecurityException(java.lang.String message, java.lang.Exception cause)
message
- the exception messagecause
- the exception causepublic SecurityException(java.lang.String message, java.lang.Exception cause, SecurityException.SecurityError type)
message
- the exception messagecause
- the exception causetype
- the error typepublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public SecurityException withSecurityError(SecurityException.SecurityError type)
public void setSecurityError(SecurityException.SecurityError type)
public SecurityException.SecurityError getSecurityError()
Copyright © 2013 Dassault Systèmes, All Rights Reserved.