Class ShouldNotHappenException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.cloud.sdk.cloudplatform.exception.ShouldNotHappenException
All Implemented Interfaces:
Serializable

public class ShouldNotHappenException extends RuntimeException
Thrown in case of an exception that should not happen. Indicates that a critical assertion is violated.
See Also:
  • Constructor Details

    • ShouldNotHappenException

      public ShouldNotHappenException(@Nullable String message)
      Exception constructor.
      Parameters:
      message - The exception message.
    • ShouldNotHappenException

      public ShouldNotHappenException(@Nullable Throwable cause)
      Exception constructor.
      Parameters:
      cause - The exception cause.
    • ShouldNotHappenException

      public ShouldNotHappenException(@Nullable String message, @Nullable Throwable cause)
      Exception constructor.
      Parameters:
      message - The exception message.
      cause - The exception cause.
    • ShouldNotHappenException

      public ShouldNotHappenException()