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
,OciApiException
,VaultApiException
public class ApiException extends RuntimeException
API exception that is not related to processing of a response.- See Also:
RestException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApiException()
New 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 Detail
-
ApiException
public ApiException()
New exception without a cause and message.
-
ApiException
public ApiException(String message)
New exception with a message and without a cause.- Parameters:
message
- message to use
-
ApiException
public ApiException(String message, Throwable cause)
New exception with a cause and message.- Parameters:
message
- message to usecause
- throwable that caused this exception
-
ApiException
public ApiException(Throwable cause)
New exception with a cause and without a message.- Parameters:
cause
- throwable that caused this exception
-
-