|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.japura.exception.HandlerExceptionManager
public abstract class HandlerExceptionManager
Pool of handler exception.
Registers handler for a specific or super class exception.
Copyright (C) 2009-2012 Carlos Eduardo Leite de Andrade
This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/
For more information, contact: www.japura.org
| Constructor Summary | |
|---|---|
HandlerExceptionManager()
|
|
| Method Summary | |
|---|---|
static void |
handle(java.lang.Exception exception)
Handle an exception. |
static void |
handle(java.lang.Exception exception,
java.util.HashMap<java.lang.String,java.lang.Object> parameters)
Handle an exception. |
static void |
register(java.lang.Class<? extends java.lang.Exception> exceptionClass,
HandlerException handler)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HandlerExceptionManager()
| Method Detail |
|---|
public static void register(java.lang.Class<? extends java.lang.Exception> exceptionClass,
HandlerException handler)
public static void handle(java.lang.Exception exception)
exception - Exception
public static void handle(java.lang.Exception exception,
java.util.HashMap<java.lang.String,java.lang.Object> parameters)
exception - Exceptionparameters - HashMap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||