Class LoggableFailure

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadRequestException, ForbiddenException, InternalServerErrorException, MethodNotAllowedException, NoMessageBodyWriterFoundFailure, NotAcceptableException, ReaderException, UnauthorizedException, UnsupportedMediaTypeException, WriterException

public class LoggableFailure extends Failure
This exception should only be used by Resteasy integrators. Applications code should use WebApplicationException

This is thrown by Resteasy runtime when a failure occurs. It will be logged by the runtime

Version:
$Revision: 1 $
See Also:
  • Constructor Details

    • LoggableFailure

      public LoggableFailure(String s, javax.ws.rs.core.Response response)
    • LoggableFailure

      public LoggableFailure(String s, Throwable throwable, javax.ws.rs.core.Response response)
    • LoggableFailure

      public LoggableFailure(Throwable throwable, javax.ws.rs.core.Response response)
    • LoggableFailure

      public LoggableFailure(String s, Throwable throwable)
    • LoggableFailure

      public LoggableFailure(Throwable throwable)
    • LoggableFailure

      public LoggableFailure(String s)
    • LoggableFailure

      public LoggableFailure(int errorCode)
    • LoggableFailure

      public LoggableFailure(String s, int errorCode)
    • LoggableFailure

      public LoggableFailure(String s, Throwable throwable, int errorCode)
    • LoggableFailure

      public LoggableFailure(Throwable throwable, int errorCode)