| Package | Description |
|---|---|
| busexplorer.exception | |
| busexplorer.exception.handling | |
| busexplorer.utils |
| Modifier and Type | Method and Description |
|---|---|
protected BusExplorerHandlingException |
BusExplorerExceptionHandler.getHandlingException(Exception exception,
ExceptionContext context)
A idéia deste método é chamar o construtor de
HandlingException
específco, que por sua vez irá utilizar o método
HandlingException.getTypeFromException(Exception) para obter a
enumeração específica (ExceptionType). |
| Constructor and Description |
|---|
BusExplorerHandlingException(Exception exception,
ExceptionContext context)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
ExceptionContext |
HandlingException.getContext()
Recupera o contexto
|
static ExceptionContext |
ExceptionContext.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionContext[] |
ExceptionContext.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
ExceptionHandler.getHandlingException(Exception realException,
ExceptionContext context)
A idéia deste método é chamar o construtor de
HandlingException
específco, que por sua vez irá utilizar o método
HandlingException.getTypeFromException(Exception) para obter a
enumeração específica (ExceptionType). |
T |
ExceptionHandler.process(Exception theException,
ExceptionContext context)
Método a ser disparado pela aplicação para tratar a exceção ocorrida no
contexto indicado.
|
| Constructor and Description |
|---|
HandlingException(Exception exception,
ExceptionContext context)
Construtor.
|
| Constructor and Description |
|---|
BusExplorerTask(Dialog.ModalityType modality,
ExceptionHandler<BusExplorerHandlingException> handler,
ExceptionContext context)
Construtor.
|
BusExplorerTask(ExceptionHandler<BusExplorerHandlingException> handler,
ExceptionContext context)
Construtor.
|
Copyright © 2017. All rights reserved.