public final class NotFoundException extends NestedException
NotFoundException
exception is thrown when the specified object does not
exist. This exception typically contains a nested exception (returned from the entity
attempting to locate the specified object) that provides more information about the underlying error.NestedThrowable.Util
nested
Constructor and Description |
---|
NotFoundException(java.lang.String message)
Constructs a
NotFoundException with the specified detail message. |
NotFoundException(java.lang.String message,
java.lang.Throwable t)
Constructs an
NotFoundException that specifies the detail message and the nested exception. |
NotFoundException(java.lang.Throwable t)
Constructs a
NotFoundException that specifies the nested exception. |
getMessage, getNested, getNestedException, printStackTrace, printStackTrace, printStackTrace, superPrintStackTrace, superPrintStackTrace, superToString, toString
public NotFoundException(java.lang.String message, java.lang.Throwable t)
NotFoundException
that specifies the detail message and the nested exception.
A detail message is a String that describes this particular exception.message
- a String providing additional information about this exception.t
- the exception to be nested inside this exception.public NotFoundException(java.lang.Throwable t)
NotFoundException
that specifies the nested exception.t
- the exception to be nested inside this exception.public NotFoundException(java.lang.String message)
NotFoundException
with the specified detail message.
A detail message is a String that describes this particular exception.message
- a String providing additional information about this exception.