Class ProviderContractException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadLogicException, InvalidErrorException, InvalidReturnException, MissingMethodException, NullReturnException

public class ProviderContractException extends OsidRuntimeException
Errors in programming resulting from an incorrect implementation of the OSIDs. These errors are not used in the method specifications as they result only from an implementation problem detected by the OSID Runtime environment or unit testing harness. Consumers receiving these errors should consider the provider faulty. Providers do not return these errors directly from their respective implementations.
See Also:
  • Constructor Details

    • ProviderContractException

      public ProviderContractException(String msg)
      Constructs a ProviderContractException 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
    • ProviderContractException

      public ProviderContractException(String msg, Throwable t)
      Constructs a ProviderContractException 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
    • ProviderContractException

      public ProviderContractException(Throwable t)
      Constructs a ProviderContractException 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