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
forIllegalStateException
.
-
-
Field Summary
-
Fields inherited from class io.dropwizard.jersey.errors.LoggingExceptionMapper
logger
-
-
Constructor Summary
Constructors Constructor Description IllegalStateExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
toResponse(IllegalStateException exception)
-
Methods inherited from class io.dropwizard.jersey.errors.LoggingExceptionMapper
formatErrorMessage, formatLogMessage, logException, logException
-
-
-
-
Method Detail
-
toResponse
public jakarta.ws.rs.core.Response toResponse(IllegalStateException exception)
- Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<IllegalStateException>
- Overrides:
toResponse
in classLoggingExceptionMapper<IllegalStateException>
-
-