public void throwException(String errorString) {
        ResourceBundle rb = ResourceBundle.getBundle(LoggingUtil.SESSION_LOGGER_CORE.getResourceBundleName());
        String msg = (String) rb.getObject(errorString);
        RuntimeException re = new RuntimeException(msg);
        throw re;
    }
public void throwException ( String errorString ) { ResourceBundle rb = ResourceBundle . getBundle ( LoggingUtil . SESSION_LOGGER_CORE . getResourceBundleName ( ) ) ; String msg = ( String ) rb . getObject ( errorString ) ; RuntimeException re = new RuntimeException ( msg ) ; throw re ; }
/*
Method to throw a runtime Exception. This is used when we are either trying
to create or access a session
while the SessionManager is in the process of stopping.