Tag: exception


Java.lang.OutOfMemoryError

There are three possible causes for an OutOfMemoryError. The first is that the JVM has a real memory leak, caused by a bug in the internal implementation of the JVM heap management. This is extremely unlikely. All JVMs are tested very strenuously for this, and

Continue Reading

Java Unparseable date

If using SimpleDateFormat to parse a string into a Date object, it may fail if the Locale sets in SimpleDateFormat differ from the string format. java.text.ParseException: Unparseable date: "02NOV2004" at java.text.DateFormat.parse(DateFormat.java:335) The above example shows an exception

Continue Reading
Yann's blog