Skip to content

Java Vogue

Java Tutorials

  • All Tutorials
  • Java
  • Java8
  • Spring Boot
  • Microservices
  • Spring
  • Hibernate
  • Reactjs
  • Interview Question
  • Contact

Category: exception

May 30, 2017 javavogue

com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

Last packet sent to the server was 2 ms ago. STACKTRACE: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:  **

Continue reading
May 5, 2017 javavogue

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 reading
February 8, 2015 javavogue

Try 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 reading
February 8, 2015 javavogue

Multiple Catch Block In Exception Handling In java

1.  We can use multiple catch block for exception handling. Syntax: try {   }   catch () {  

Continue reading
February 7, 2015 javavogue

How 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 reading
February 7, 2015 javavogue

How 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 reading
February 7, 2015 javavogue

Exception Handling In Java

     An exception is a event ,which interrupt the normal flow of the program.     Throwable class is

Continue reading

Recent Posts

  • Java Program to display student details Using Class and Object
  • TreeMap floorEntry() method in Java
  • Check If Int is Null In Java
  • Java Math min() method example
  • TreeMap ceilingKey() method in Java

Popular Posts

  • How to Read value From application.properties in spring boot
  • ‘Field required a bean of type that could not be found.’ error spring restful API
  • How to Reload Changes Without Restarting the Server – Spring Boot
  • No converter found for return value of type: org.springframework.http.converter.HttpMessageNotWritableException: No converter found
  • Spring Boot @ConfigurationProperties Property Validation
hi