PART I
C h a p t e r 1 3 :
E x c e p t i o n H a n d l i n g
355
PART IPART I
The exception classes that you create will automatically have the properties and methods
defined by
Exception
available to them. Of course, you can override one or more of these
members in exception classes that you create.
When creating your own exception class, you will generally want your class to support
all of the constructors defined by
Exception
. For simple custom exception classes, this is
easy to do because you can simply pass along the constructor’s arguments to the corresponding
Do'stlaringiz bilan baham: |