if (lightNavigatorObj != null) {
if (lightNavigatorObj instanceof LightNavigator) {
TracerSingleton.log(Constants.NOME_MODULO, TracerSingleton.DEBUG, "LightNavigationManager: " +
"destroyLightNavigatorFromSession: LightNavigator present on session with key = [" + sessionAttributeKey + "]. " +
"It will be removed.");
session.removeAttribute(sessionAttributeKey);
} else {
TracerSingleton.log(Constants.NOME_MODULO, TracerSingleton.CRITICAL, "LightNavigationManager: " +
"destroyLightNavigatorFromSession: session attribute with key = [" + sessionAttributeKey + "] is not a " +
"LightNavigator object!! Cannot destroy it!!");
throw new Exception ("Session attribute with key = [" + sessionAttributeKey + "] is not a LightNavigator object!!");