Package io.nitric.api
Class NotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.nitric.api.NitricException
-
- io.nitric.api.NotFoundException
-
- All Implemented Interfaces:
Serializable
public class NotFoundException extends NitricException
Provides a Nitric service resource NotFound exception class.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.nitric.api.NitricException
NitricException.Code
-
-
Constructor Summary
Constructors Constructor Description NotFoundException(NitricException.Code code, String message, io.grpc.StatusRuntimeException cause, io.nitric.proto.error.v1.ErrorDetails ed)
Create a new resource NotFoundException with the given information.
-
Method Summary
-
Methods inherited from class io.nitric.api.NitricException
build, getArgs, getCode, getMessage, getPlugin, getRootCause, getService, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
NotFoundException
public NotFoundException(NitricException.Code code, String message, io.grpc.StatusRuntimeException cause, io.nitric.proto.error.v1.ErrorDetails ed)
Create a new resource NotFoundException with the given information.- Parameters:
code
- the GRPC status codemessage
- the error messagecause
- the error root causeed
- the structured GRPC error details
-
-