Package io.dropwizard.jersey.errors
Class IllegalStateExceptionMapper
java.lang.Object
io.dropwizard.jersey.errors.LoggingExceptionMapper<IllegalStateException>
io.dropwizard.jersey.errors.IllegalStateExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<IllegalStateException>
@Provider
public class IllegalStateExceptionMapper
extends LoggingExceptionMapper<IllegalStateException>
ExceptionMapper for IllegalStateException.-
Field Summary
Fields inherited from class io.dropwizard.jersey.errors.LoggingExceptionMapper
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsetoResponse(IllegalStateException exception) Methods inherited from class io.dropwizard.jersey.errors.LoggingExceptionMapper
formatErrorMessage, formatLogMessage, logException, logException
-
Constructor Details
-
IllegalStateExceptionMapper
public IllegalStateExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponsein interfacejakarta.ws.rs.ext.ExceptionMapper<IllegalStateException>- Overrides:
toResponsein classLoggingExceptionMapper<IllegalStateException>
-