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 Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultExceptionMapper
public DefaultExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<Throwable>
-