Class CcsClientGenericException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.ClientErrorException
io.clonecloudstore.common.quarkus.exception.CcsClientGenericException
- All Implemented Interfaces:
CcsExceptionInterface,Serializable
- Direct Known Subclasses:
CcsAlreadyExistException,CcsDeletedException,CcsNotAcceptableException,CcsNotAllowedException,CcsNotExistException
public class CcsClientGenericException
extends jakarta.ws.rs.ClientErrorException
implements CcsExceptionInterface
Generic Abstract class exception for Client Error
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCcsClientGenericException(String message, jakarta.ws.rs.core.Response.Status status) Constructor to CcsClientGenericExceptionCcsClientGenericException(String message, jakarta.ws.rs.core.Response.Status status, Throwable cause) Constructor to CcsClientGenericException -
Method Summary
Modifier and TypeMethodDescriptionGetter for module propertyintGetter for associated Status (aligned on HTTP status code)Methods inherited from class jakarta.ws.rs.WebApplicationException
getResponseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CcsClientGenericException
Constructor to CcsClientGenericException- Parameters:
message- Exception Messagestatus- HTTP Status Code
-
CcsClientGenericException
public CcsClientGenericException(String message, jakarta.ws.rs.core.Response.Status status, Throwable cause) Constructor to CcsClientGenericException- Parameters:
message- Exception Messagestatus- HTTP Status Codecause- Initial Exception
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
getModule
Description copied from interface:CcsExceptionInterfaceGetter for module property- Specified by:
getModulein interfaceCcsExceptionInterface
-
getStatus
public int getStatus()Description copied from interface:CcsExceptionInterfaceGetter for associated Status (aligned on HTTP status code)- Specified by:
getStatusin interfaceCcsExceptionInterface
-