Class InvalidMethodException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osid.OsidRuntimeException
org.osid.ConsumerContractException
org.osid.InvalidMethodException
- All Implemented Interfaces:
Serializable
A method not defined in the interface was invoked. This error is not
used in the method specification but may occur any time an undefined
method is invoked, as permissible by the language environment.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aInvalidMethodExceptionwith the specified detail message.InvalidMethodException(String msg, Throwable t) Constructs aInvalidMethodExceptionwith the specified detail message and cause.Constructs aInvalidMethodExceptionwith 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
-
InvalidMethodException
-
InvalidMethodException
-
InvalidMethodException
Constructs aInvalidMethodExceptionwith 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
-