Class ConsumerContractException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osid.OsidRuntimeException
org.osid.ConsumerContractException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IllegalStateException, InvalidArgumentException, InvalidMethodException, NoAccessException, NullArgumentException, UnimplementedException, UnsupportedException
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 Summary
ConstructorsConstructorDescriptionConstructs aConsumerContractExceptionwith the specified detail message.ConsumerContractException(String msg, Throwable t) Constructs aConsumerContractExceptionwith the specified detail message and cause.Constructs aConsumerContractExceptionwith the specified cause and a detail message ofcause.toString()which typically contains the class and detail message ofcause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConsumerContractException
-
ConsumerContractException
Constructs aConsumerContractExceptionwith the specified detail message and cause. The error message stringmsgcan later be retrieved by the getMessage() method ofThrowable.- Parameters:
msg- the error messaget- the cause of the exception
-
ConsumerContractException
Constructs aConsumerContractExceptionwith the specified cause and a detail message ofcause.toString()which typically contains the class and detail message ofcause.- Parameters:
t- the cause of the exception
-