Class CcsServerGenericException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.ServerErrorException
io.clonecloudstore.common.quarkus.exception.CcsServerGenericException
- All Implemented Interfaces:
CcsExceptionInterface
,Serializable
- Direct Known Subclasses:
CcsOperationException
public class CcsServerGenericException
extends jakarta.ws.rs.ServerErrorException
implements CcsExceptionInterface
Generic exception for Server Error
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCcsServerGenericException
(jakarta.ws.rs.core.Response.Status status, Throwable cause) Constructor to CcsServerGenericExceptionCcsServerGenericException
(String message, jakarta.ws.rs.core.Response.Status status) Constructor to CcsServerGenericExceptionCcsServerGenericException
(String message, jakarta.ws.rs.core.Response.Status status, Throwable cause) Constructor to CcsServerGenericException -
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
-
CcsServerGenericException
Constructor to CcsServerGenericException -
CcsServerGenericException
Constructor to CcsServerGenericException- Parameters:
message
- Exception Message
-
CcsServerGenericException
public CcsServerGenericException(String message, jakarta.ws.rs.core.Response.Status status, Throwable cause) Constructor to CcsServerGenericException- Parameters:
message
- Exception Messagecause
- 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
-