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 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
-
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:
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
-