Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^3: Creating exception classes

by Athanasius (Canon)
on Feb 06, 2013 at 06:40 UTC ( #1017345=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Creating exception classes
in thread Creating exception classes

From the source code it appears that Exception::Class inherits from Exception::Class::Base. The documentation for Exception::Class::Base catalogues a number of class and/or object methods, among which are these:

Returns the description for the given Exception::Class::Base subclass. ... This is also an object method.

Returns the error/message associated with the exception.

So these accessors are, as it were, “built-in” to any class derived from Exception::Class.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Comment on Re^3: Creating exception classes
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017345]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2015-11-25 13:23 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (675 votes), past polls