added log4j
initializing exceptions