Class NotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.osid.OsidException
org.osid.UserException
org.osid.NotFoundException
- All Implemented Interfaces:
Serializable
The given
Id or other identifier was not found. Where a single
object is specified as a return value in response to lookup by an
identifier, this error must be returned if not found. In methods that
specify an OsidList or other grouping as a return value, an empty
list should be returned where this error is not specified.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotFoundException(String msg) Constructs aNotFoundExceptionwith the specified detail message.NotFoundException(String msg, Throwable t) Constructs aNotFoundExceptionwith the specified detail message and cause.Constructs aNotFoundExceptionwith 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
-
NotFoundException
-
NotFoundException
-
NotFoundException
Constructs aNotFoundExceptionwith 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
-