Class ConsumerContractException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalStateException, InvalidArgumentException, InvalidMethodException, NoAccessException, NullArgumentException, UnimplementedException, UnsupportedException

public class ConsumerContractException extends OsidRuntimeException
Errors in programming resulting from an incorrect use of the OSIDs. Application code should be checked for accuracy. These errors should be avoided by using the defined interoperability and flow control tests.
See Also:
  • Constructor Details

    • ConsumerContractException

      public ConsumerContractException(String msg)
      Constructs a ConsumerContractException with the specified detail message. The error message string msg can later be retrieved by the getMessage() method of Throwable.
      Parameters:
      msg - the error message
    • ConsumerContractException

      public ConsumerContractException(String msg, Throwable t)
      Constructs a ConsumerContractException with the specified detail message and cause. The error message string msg can later be retrieved by the getMessage() method of Throwable.
      Parameters:
      msg - the error message
      t - the cause of the exception
    • ConsumerContractException

      public ConsumerContractException(Throwable t)
      Constructs a ConsumerContractException with the specified cause and a detail message of cause.toString() which typically contains the class and detail message of cause.
      Parameters:
      t - the cause of the exception