Package io.varhttp

Class ExceptionRegistry

java.lang.Object
io.varhttp.ExceptionRegistry

@Singleton public class ExceptionRegistry extends Object
  • Constructor Details

    • ExceptionRegistry

      public ExceptionRegistry()
  • Method Details

    • registerException

      public void registerException(ControllerExceptionMapper handler)
    • getResponseCode

      public int getResponseCode(Class<? extends Throwable> exceptionClass, int defaultResponseCode)
    • getExceptionClasses

      public Set<Class<? extends Throwable>> getExceptionClasses()