cvm.ncb.handlers
Class NCBExceptionHandler

java.lang.Object
  extended by cvm.ncb.handlers.NCBExceptionHandler

public class NCBExceptionHandler
extends java.lang.Object

This class defines all the exceptions that could be handled by the handler

Author:
Frank Hernandez

Method Summary
 void handleException(java.lang.Exception e)
          This method will handle all the exceptions thrown by the NCB layer.
static NCBExceptionHandler Instance()
          Implementation of the Singleton Pattern
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Instance

public static NCBExceptionHandler Instance()
Implementation of the Singleton Pattern

Returns:
NCBExceptionHandler instnace

handleException

public void handleException(java.lang.Exception e)
This method will handle all the exceptions thrown by the NCB layer.

Parameters:
e - the exception that will be handled by the handler class