Package 

Class WsExceptionMapper

  • All Implemented Interfaces:

    
    public final class WsExceptionMapper
    
                        

    Maps exception types to exception handlers.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final <Error class: unknown class> handlers
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <Error class: unknown class> getHandlers()
      final Unit handle(Exception exception, WsContext ctx) Handles the specific exception.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WsExceptionMapper

        WsExceptionMapper()
    • Method Detail

      • getHandlers

         final <Error class: unknown class> getHandlers()
      • handle

         final Unit handle(Exception exception, WsContext ctx)

        Handles the specific exception. If no handler is associated with the exception, then the socket is closed with a status code that indicates internal error.