Class NotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.activeviam.tech.core.api.exceptions.ActiveViamRuntimeException
com.activeviam.tech.core.api.exceptions.service.ServiceException
com.activeviam.tech.core.api.exceptions.service.NotFoundException
- All Implemented Interfaces:
Serializable
Class exception for requests to a non-existing resource.
This reproduce HTTP code 404.
- Author:
- ActiveViam
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe code that uniquely identifies this exception (inspired from HTTP codes). -
Constructor Summary
ConstructorsConstructorDescriptionNotFoundException(String message) Constructor.NotFoundException(String message, Throwable cause) Constructor.NotFoundException(Throwable cause) Constructor. -
Method Summary
Methods inherited from class com.activeviam.tech.core.api.exceptions.service.ServiceException
create, getCode, getLoggingLevel, getMessage, getStatusCode, isClientException, isClientException, wrapMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
CODE
public static final int CODEThe code that uniquely identifies this exception (inspired from HTTP codes).- See Also:
-
-
Constructor Details
-
NotFoundException
Constructor.- Parameters:
message- the detailed message
-
NotFoundException
Constructor.- Parameters:
message- the detailed messagecause- the exception that caused this one
-
NotFoundException
Constructor.- Parameters:
cause- the exception that caused this one
-