Class InvalidInitializationException

All Implemented Interfaces:
IErrorException, Serializable

public class InvalidInitializationException extends ErrorException
Exception thrown by the SAP CC system.

The possible reason codes are:

See Also:
  • Field Details

    • DOES_NOT_EXIST

      public static final int DOES_NOT_EXIST
      0: constant for a 'does not exist' exception reason
      See Also:
    • ALREADY_EXIST

      public static final int ALREADY_EXIST
      1: constant for an 'already exist' exception reason
      See Also:
    • INVALID

      public static final int INVALID
      2: constant for an 'invalid creation' exception reason
      See Also:
    • CANNOT_INITIALIZE

      public static final int CANNOT_INITIALIZE
      4: constant for an 'invalid modification' exception reason
      See Also:
    • DUPLICATED_PROPERTY

      public static final int DUPLICATED_PROPERTY
      3: constant for an 'invalid creation' exception reason
      See Also:
  • Constructor Details

    • InvalidInitializationException

      public InvalidInitializationException()
      Constructs an empty exception.
    • InvalidInitializationException

      public InvalidInitializationException(int reason, String message)
      Constructs an exception with the specified reason of the exception and the specified comprehensinve message.
      Parameters:
      reason - The reason code of this exception
      message - The detail message
    • InvalidInitializationException

      public InvalidInitializationException(int reason, String message, IError error)
      Constructs an exception with the specified reason of the exception and the specified comprehensinve message.
      Parameters:
      reason - The reason code of this exception
      message - The detail message
      error - The error linked to the exception
  • Method Details

    • getReason

      public int getReason()
      Returns the reason code of the exception.
      Returns:
      The numeric reason code of this exception
    • getMessage

      public String getMessage()
      Returns the comprehensive message of the exception.
      Overrides:
      getMessage in class ErrorException
      Returns:
      The human-readable message of this exception
    • getOperandReference

      public String getOperandReference()