Last packet sent to the server was 2 ms ago. STACKTRACE: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: **
Continue readingCategory: exception
Error creating bean with name ‘classname’: Scope ‘session’ is not active for the current thread
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘DBController’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not
Continue readingTry And Finally Without Catch Block
1. We Can Use Finally after try block ,it will run gives message in finally block.But can not handle exception.
Continue readingMultiple Catch Block In Exception Handling In java
1. We can use multiple catch block for exception handling. Syntax: try { } catch () {
Continue readingHow to Handle Exception In Java
1. public class simple_example { public static void main(String[] args) { int i=10; int j=0; try { System.out.println(“i/j=”+i/j); } catch
Continue readingHow To Exception Interrupt Program In java
In this program exception occur during the execution ,statement i/j. Normal execution of this program interrupt and program goes terminate.
Continue readingException Handling In Java
An exception is a event ,which interrupt the normal flow of the program. Throwable class is
Continue reading