![JAR search and dependency download from the Maven repository](/logo.png)
com.ibm.optim.oaas.client.SecurityException.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api_java_client Show documentation
Show all versions of api_java_client Show documentation
Java client API for DOCplexCloud, version 1.0-STABLE-b832
The newest version!
SecurityException (Java Client for DOcplexcloud 1.0 API)
com.ibm.optim.oaas.client
Class SecurityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.ibm.optim.oaas.client.OaasRuntimeException
-
- com.ibm.optim.oaas.client.SecurityException
-
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- InvalidClientIdException, ResourceAccessException, UndefinedSubscriptionException
public class SecurityException
extends OaasRuntimeException
Exception to report invalid or forbidden operations
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors
Constructor and Description
SecurityException(int code,
String message)
SecurityException(String code)
SecurityException(String message,
Object... parameters)
Create an exception.
SecurityException(String message,
Throwable cause,
Object... parameters)
Create an exception.
SecurityException(Throwable e)
-
Method Summary
Methods
Modifier and Type
Method and Description
int
getRestStatusCode()
Gets the REST status code.
-
Methods inherited from class com.ibm.optim.oaas.client.OaasRuntimeException
getLocalizedMessage, getLocalizedMessage, getMessage, getMessageCode, getParameters, getRootCause
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
Constructor Detail
-
SecurityException
public SecurityException(String message,
Throwable cause,
Object... parameters)
Create an exception.
- Parameters:
message
- The exception message.cause
- The cause of the exception.parameters
- The optional parameters for the message.
-
SecurityException
public SecurityException(String message,
Object... parameters)
Create an exception.
- Parameters:
message
- The exception message.parameters
- The optional parameters for the message.
-
SecurityException
public SecurityException(int code,
String message)
-
SecurityException
public SecurityException(String code)
-
SecurityException
public SecurityException(Throwable e)
-
Method Detail
-
getRestStatusCode
public int getRestStatusCode()
Description copied from class: OaasRuntimeException
Gets the REST status code. This method must be overridden to provide the
appropriate value.
- Overrides:
getRestStatusCode
in class OaasRuntimeException
- Returns:
- The status code.
Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy