System.Exception

We extend the System.Exception to create our own exception.

Important properties in System.Exception

PropertyMeaning
StackTraceA string representing all the methods from the origin of the exception to the catch block.
MessageA string with a description of the error.
InnerExceptionThe inner exception that caused the outer exception.
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.