Class ApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.api.rest.pub.client.security.ApiException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnexpectedStatusCodeException,UnsuccessfulStatusCodeException
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator") public class ApiException extends ExceptionException thrown by various REST API methods. Encapsulates other exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApiException()Creates a new API exception without details or a cause.ApiException(String message)Creates a new API exception with a message.ApiException(String message, Throwable cause)Creates a new API exception with a message and a cause.ApiException(Throwable cause)Creates a new API exception with a cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ApiException
public ApiException()
Creates a new API exception without details or a cause.
-
ApiException
public ApiException(Throwable cause)
Creates a new API exception with a cause.- Parameters:
cause- The underlying cause of the exception.
-
ApiException
public ApiException(String message)
Creates a new API exception with a message.- Parameters:
message- Details message that describes the error.
-
-