Class ApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.xima.fc.api.rest.pub.client.generic.ApiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnexpectedStatusCodeException, UnsuccessfulStatusCodeException
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator")
public class ApiException
extends Exception
Exception thrown by various REST API methods. Encapsulates other exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates 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 Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApiException
public ApiException()Creates a new API exception without details or a cause. -
ApiException
Creates a new API exception with a cause.- Parameters:
cause- The underlying cause of the exception.
-
ApiException
Creates a new API exception with a message.- Parameters:
message- Details message that describes the error.
-
ApiException
-