Package dev.vernite.vernite.utils
Class ObjectNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.ErrorResponseException
org.springframework.web.server.ResponseStatusException
dev.vernite.vernite.utils.ObjectNotFoundException
- All Implemented Interfaces:
Serializable,org.springframework.web.ErrorResponse
public class ObjectNotFoundException
extends org.springframework.web.server.ResponseStatusException
Creates an exception that returns an object not found on the output.
it extends the exception with message "Object not found".
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.web.ErrorResponse
org.springframework.web.ErrorResponse.Builder -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.web.server.ResponseStatusException
getHeaders, getMessage, getReason, getResponseHeadersMethods inherited from class org.springframework.web.ErrorResponseException
getBody, getDetailMessageArguments, getDetailMessageCode, getStatusCode, setDetail, setInstance, setTitle, setTypeMethods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.web.ErrorResponse
getDetailMessageArguments, getTitleMessageCode, updateAndGetBody
-
Constructor Details
-
ObjectNotFoundException
public ObjectNotFoundException()
-