NAME
Bio::Phylo::Util::StackTrace - Stack traces for exceptions
SYNOPSIS
my
$trace
= Bio::Phylo::Util::StackTrace->new;
$trace
->as_string;
DESCRIPTION
This is a simple stack trace object that is used by Bio::Phylo::Util::Exceptions. At the moment of its instantiation, it creates a full list of all frames in the call stack (except those originating from with the exceptions class). These can subsequently be stringified by calling as_string().
(If you have no idea what any of this means, don't worry: this class is mostly for internal usage. You can probably ignore this safely.)
METHODS
CONSTRUCTOR
- new()
-
Stack trace object constructor.
Type : Constructor
Title : new
Usage :
my
$trace
= Bio::Phylo::Util::StackTrace->new
Function: Instantiates a Bio::Phylo::Util::StackTrace
object.
Returns : A Bio::Phylo::Util::StackTrace.
Args : None
SERIALIZERS
- as_string()
-
Creates a string representation of the stack trace
Type : Serializer
Title : as_string
Usage :
print
$trace
->as_string
Function: Creates a string representation of the stack trace
Returns : String
Args : None
SEE ALSO
- Bio::Phylo::Util::Exceptions
-
The stack trace object is used internally by the exception classes.
- Bio::Phylo::Manual
-
Also see the manual: Bio::Phylo::Manual and http://rutgervos.blogspot.com.
REVISION
$Id
: Datum.pm 1237 2010-03-02 23:27:06Z rvos $