Class ApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.integrations.common.rest.ApiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ApiRestException
,VaultApiException
API exception that is not related to processing of a response.
- See Also:
-
Constructor Summary
ConstructorDescriptionNew exception without a cause and message.ApiException
(String message) New exception with a message and without a cause.ApiException
(String message, Throwable cause) New exception with a cause and message.ApiException
(Throwable cause) New exception with a cause and without a message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApiException
public ApiException()New exception without a cause and message. -
ApiException
New exception with a message and without a cause.- Parameters:
message
- message to use
-
ApiException
New exception with a cause and message.- Parameters:
message
- message to usecause
- throwable that caused this exception
-
ApiException
New exception with a cause and without a message.- Parameters:
cause
- throwable that caused this exception
-