www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - the Exception class

reply llee <llee goucher.edu> writes:
Can anyone tell me where I can find information concerning the Exception class?
Specifically I would like to know what members are defined within it.
I'm trying to throw exceptions and would like to print out the string that I
passed to it's constructor. If anyone could tell me how to do that I would
appreciate it. 
Sep 12 2007
parent reply BCS <BCS pathlink.com> writes:
llee wrote:
 Can anyone tell me where I can find information concerning the Exception class?
look in dmd/src/phobos/object.d
 Specifically I would like to know what members are defined within it.
 I'm trying to throw exceptions and would like to print out the string that I
passed to it's constructor. If anyone could tell me how to do that I would
appreciate it. 
I think Exception.toString gets you that
Sep 12 2007
parent llee <llee goucher.edu> writes:
Thanks. 
Sep 12 2007