Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get the error code for an exception in Java?

843798Oct 14 2001 — edited Oct 15 2001
Hi experts,

I want to get the error code generated for an exception.
For example, if a program throws a NullPointerException, how to get the corresponding error code?

Please reply me as soon as possible.
Thanks in advance.

Srinivas Y.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2001
Added on Oct 14 2001
3 comments
312 views