Class ExceptionManager


  • @ApplicationScoped
    public class ExceptionManager
    extends Object

    Handles backend exceptions.

    Since:
    0.3.0
    • Constructor Detail

      • ExceptionManager

        public ExceptionManager()
    • Method Detail

      • handleException

        public RuntimeException handleException​(Exception e)

        Return a @Portable RuntimeException that can be captured by client side widgets.

        Parameters:
        e - The exception that caused the error.
        Returns:
        The portable exception to send to the client side.