Class InvalidReturnException

All Implemented Interfaces:
Serializable

public class InvalidReturnException extends ProviderContractException
Implementation returned an invalid value.
See Also:
  • Constructor Details

    • InvalidReturnException

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

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

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