Class DefaultExceptionMapper

java.lang.Object
org.telegram.telegrambots.updatesreceivers.DefaultExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Throwable>

public class DefaultExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<Throwable>
Prints exceptions in webhook bots to stderr
Version:
1.0
Author:
Mouamle
  • Constructor Details

    • DefaultExceptionMapper

      public DefaultExceptionMapper()
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(Throwable exception)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<Throwable>