com.acsinet_solutions.util.exception
Class ExceptionInfoManager

java.lang.Object
  extended by com.acsinet_solutions.util.exception.ExceptionInfoManager

public final class ExceptionInfoManager
extends java.lang.Object

Class of static methods that administers ExceptionInfo instances. Registration for typical core java exceptions are internally provided

Author:
Santiago Arriaga

Constructor Summary
ExceptionInfoManager()
           
 
Method Summary
static void addExceptionInfo(ExceptionInfo info)
          Add an ExceptionInfo instance to the internal list
static ExceptionInfo getExceptionInfo(java.lang.Throwable throwable)
          Get the exception info for the given input values
static void removeExceptionInfo(ExceptionInfo info)
          Remove an ExceptionInfo instance from the internal list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionInfoManager

public ExceptionInfoManager()
Method Detail

getExceptionInfo

public static final ExceptionInfo getExceptionInfo(java.lang.Throwable throwable)
Get the exception info for the given input values

Parameters:
throwable - A not-null Throwable instance
Returns:
A not-null ExceptionInfo instance

addExceptionInfo

public static final void addExceptionInfo(ExceptionInfo info)
Add an ExceptionInfo instance to the internal list

Parameters:
info - A not-null ExceptionInfo instance

removeExceptionInfo

public static final void removeExceptionInfo(ExceptionInfo info)
Remove an ExceptionInfo instance from the internal list

Parameters:
info - A not-null ExceptionInfo instance