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

public class OpenApiGeneratorException extends RuntimeException
Custom runtime exception that is thrown in cases of unrecoverable errors.
See Also:
  • Constructor Details

    • OpenApiGeneratorException

      public OpenApiGeneratorException(@Nullable String message)
      Creates an exception based on the given message.
      Parameters:
      message - The error message,
    • OpenApiGeneratorException

      public OpenApiGeneratorException(@Nullable Throwable cause)
      Creates an exception based on the actual thrown exception.
      Parameters:
      cause - The causing exception.
    • OpenApiGeneratorException

      public OpenApiGeneratorException(@Nullable String message, @Nullable Throwable cause)
      Creates an exception based on a more specific message and the actual thrown exception.
      Parameters:
      message - The more specific message.
      cause - The causing exception.