Class OpenApiGeneratorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.cloud.sdk.datamodel.openapi.generator.exception.OpenApiGeneratorException
- All Implemented Interfaces:
Serializable
Custom runtime exception that is thrown in cases of unrecoverable errors.
- See Also:
-
Constructor Summary
ConstructorDescriptionOpenApiGeneratorException
(String message) Creates an exception based on the given message.OpenApiGeneratorException
(String message, Throwable cause) Creates an exception based on a more specific message and the actual thrown exception.Creates an exception based on the actual thrown exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OpenApiGeneratorException
Creates an exception based on the given message.- Parameters:
message
- The error message,
-
OpenApiGeneratorException
Creates an exception based on the actual thrown exception.- Parameters:
cause
- The causing exception.
-
OpenApiGeneratorException
Creates an exception based on a more specific message and the actual thrown exception.- Parameters:
message
- The more specific message.cause
- The causing exception.
-