We extend the System.Exception to create our own exception.
Important properties in System.Exception
| Property | Meaning |
|---|---|
| StackTrace | A string representing all the methods from the origin of the exception to the catch block. |
| Message | A string with a description of the error. |
| InnerException | The 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. |