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 propertyint
Getter for associated Status (aligned on HTTP status code)Methods inherited from class jakarta.ws.rs.WebApplicationException
getResponse
Methods 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:
getMessage
in classThrowable
-
getModule
Description copied from interface:CcsExceptionInterface
Getter for module property- Specified by:
getModule
in interfaceCcsExceptionInterface
-
getStatus
public int getStatus()Description copied from interface:CcsExceptionInterface
Getter for associated Status (aligned on HTTP status code)- Specified by:
getStatus
in interfaceCcsExceptionInterface
-