Nov 30
Explain Java Logo

It is very common to see different kind of errors and exceptions while running any program. When you are learning java, it is difficult to fix even very simple issues. In this tutorial, let us see how to fix most common exceptions that occur while programming in java. Exception in thread “main” java.lang.NullPointerException It is [...]

written by Seetha Ram Janapala
Tags: core java for beginners, core java tutorial, fix exceptions, j2se 5.0, j2se tutorial, java arrays, java exception in thread main, java exception tutorial, java exceptions, java lang null pointer exception, java nullpointerexception, java strings, java.lang.arrayindexoutofboundsexception, java.lang.stringindexoutofboundsexception, most common java exceptions

Feb 28
Most common java exceptions and errors

In this tutorial i’m going to explain with examples the most common java exceptions and errors you may see in your career as a Java developer/programmer. Some of them are: ArrayIndexOutOfBoundsException, ClassCastException, IllegalArgumentException, IllegalStateException, NullPointerException, NumberFormatException, AssertionError, ExceptionInInitializerError, StackOverflowError, and NoClassDefFoundError. The below image shows the Exception hierarchy diagram for the most common java exceptions [...]

written by Seetha Ram Janapala
Tags: assertion error in java, class cast exception in java, Common Exceptions and Errors in Java, core java for beginners, core java tutorial, ExceptionInInitializerError of java, illegal state exception java, j2se 5.0, java class not found exception, java common errors, java exception in thread main, java exception tutorial, java illegalargumentexception, java lang class exception, java lang null exception, java lang null pointer exception, java NoClassDefFoundError, java null pointer exception, java number exception, java numberformatexception, java runtimeexception, java stackoverflowerror, JVM Thrown Exceptions, most common java errors, most common java exceptions, Programmatically Thrown Exceptions, throw an exception in java, try-catch

Feb 28
What Is a Java Exception? Explain exception handling in java with examples

In this java exception tutorial, let’s discuss about Java Exceptions and errors. I will explain exception handling in java with suitable & detailed examples program. Java has a powerful concept for Exception and Error handling. An exception is an error that occurs at runtime. It is either generated by the Java Virtual Machine (VM) in [...]

written by Seetha Ram Janapala
Tags: catch, checked exceptions, core java for beginners, core java tutorial, exception class in java, exception handling in java, exception handling in java with examples program, exception handling mechanism, exception hierarchy, finally, j2se 5.0, java errors, java exception hierarchy, java exception in thread main, java exception tutorial, java exceptions, java lang class exception, java lang outofmemory error, java nullpointerexception, java runtimeexception, java stackoverflowerror, out of bounds exception, try, try-catch, uncaught exception, unchecked exceptions, what is a java exception