@ApplicationScoped public class ExceptionManager extends Object
Handles backend exceptions.
Constructor and Description |
---|
ExceptionManager() |
Modifier and Type | Method and Description |
---|---|
RuntimeException |
handleException(Exception e)
Return a
@Portable RuntimeException that can be captured by client side widgets. |
public RuntimeException handleException(Exception e)
Return a @Portable RuntimeException
that can be captured by client side widgets.
e
- The exception that caused the error.Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.