public class NotFoundException extends UserException
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.| Constructor and Description |
|---|
NotFoundException(java.lang.String msg)
Constructs a
NotFoundException with the specified
detail message. |
NotFoundException(java.lang.String msg,
java.lang.Throwable t)
Constructs a
NotFoundException with the specified
detail message and cause. |
NotFoundException(java.lang.Throwable t)
Constructs a
NotFoundException with the specified
cause and a detail message of
cause.toString() which typically contains the class and
detail message of cause. |
public NotFoundException(java.lang.String msg)
NotFoundException with the specified
detail message. The error message string msg can
later be retrieved by the getMessage() method of
Throwable.msg - the error messagepublic NotFoundException(java.lang.String msg,
java.lang.Throwable t)
NotFoundException with the specified
detail message and cause. The error message string msg can
later be retrieved by the getMessage() method of
Throwable.msg - the error messaget - the cause of the exceptionpublic NotFoundException(java.lang.Throwable t)
NotFoundException with the specified
cause and a detail message of
cause.toString() which typically contains the class and
detail message of cause.t - the cause of the exception