@Provider public class IllegalStateExceptionMapper extends LoggingExceptionMapper<IllegalStateException>
ExceptionMapper
for IllegalStateException
.logger
Constructor and Description |
---|
IllegalStateExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(IllegalStateException exception) |
formatErrorMessage, formatLogMessage, logException, logException
public javax.ws.rs.core.Response toResponse(IllegalStateException exception)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<IllegalStateException>
toResponse
in class LoggingExceptionMapper<IllegalStateException>
Copyright © 2020. All rights reserved.