@@ -133,21 +133,27 @@ public static Map runTransaction(
133133 con =customConnectionClass .getDeclaredConstructor (constructor_Args ).newInstance (mc , builder , logger );
134134
135135 } catch (InstantiationException e ) {
136+ logger .log (Logger .LT_INFO , "Failed to Instantiate the class " +e );
136137 throw new ClientException (e , false , null );
137138 } catch (IllegalAccessException e ) {
139+ logger .log (Logger .LT_INFO , "Could not Access the method invoked " +e );
138140 throw new ClientException (e , false , null );
139141 } catch (ClassNotFoundException e ) {
140- logger .log (Logger .LT_INFO , "Could not load the custom class " );
142+ logger .log (Logger .LT_INFO , "Could not load the custom HTTP class " );
141143 throw new ClientException (e , false , null );
142144 } catch (IllegalArgumentException e ) {
145+ logger .log (Logger .LT_INFO , "Method invoked with Illegal Argument list " +e );
143146 throw new ClientException (e , false , null );
144147 } catch (SecurityException e ) {
148+ logger .log (Logger .LT_INFO , "Security Exception " +e );
145149 throw new ClientException (e , false , null );
146150 } catch (InvocationTargetException e ) {
151+ logger .log (Logger .LT_INFO , "Exception occured while calling the method " +e );
147152 throw new ClientException (e , false , null );
148153 } catch (NoSuchMethodException e ) {
154+ logger .log (Logger .LT_INFO , "Method not found " );
149155 throw new ClientException (e , false , null );
150- }
156+ }
151157 }
152158 else {
153159 con = Connection .getInstance (mc , builder , logger );
0 commit comments