{{theTime}}

Search This Blog

Total Pageviews

java.lang.VerifyError: Catch type is not a subclass of Throwable in handler

I got this error when I try to run my program in Eclipse.  What is this error?  

java.lang.VerifyError: Catch type is not a subclass of Throwable in handler
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)

Explanation:

    This error will be thrown when compiled version of the Java and Runtime Version of the Java is different.

How to Fix:

- Check the Compiler settings in Eclipse
- Check the Runtime Settings in Eclipse
- Fixing the Java version would solve this problem.

No comments:

Generate Insert Sql from Select Statement

SELECT 'INSERT INTO ReferenceTable (ID, Name) VALUES (' +        CAST(ID AS NVARCHAR) + ', ''' + Name + ''...