Package org.dashbuilder.exception
Class ExceptionManager
- java.lang.Object
-
- org.dashbuilder.exception.ExceptionManager
-
@ApplicationScoped public class ExceptionManager extends Object
Handles backend exceptions.
- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description ExceptionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeExceptionhandleException(Exception e)Return a@Portable RuntimeExceptionthat can be captured by client side widgets.
-
-
-
Method Detail
-
handleException
public RuntimeException handleException(Exception e)
Return a
@Portable RuntimeExceptionthat 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.
-
-