Query: config::model::exception
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Config::Model::Exception(3pm) User Contributed Perl Documentation Config::Model::Exception(3pm)NAMEConfig::Model::Exception - Exception mechanism for configuration modelVERSIONversion 2.021SYNOPSIS# internalDESCRIPTIONYou must read Exception::Class before reading on. This module creates all the exception class used by Config::Model. All exception class name begins with "Config::Model::Exception::" The exception classes are: "Any" Base class. It accepts an "object" argument. The user must pass the reference of the object where the exception occurred. The object name will be used to generate the error message. TODO: list all exception classes and hierarchy. How to get trace By default, most of the exceptions will not print out the stack trace. For debug purpose, you can force a stack trace. For instance, if you want a stack trace for an "unknown element" error, you must add this line in your script: Config::Model::Exception::UnknownElement->Trace(1) ; If you're not sure which class to trace, add this line in your script: Config::Model::Exception::Any->Trace(1) ;AUTHORDominique Dumont, (ddumont at cpan dot org)SEE ALSOConfig::Model, Config::Model::Instance, Config::Model::Node, Config::Model::Value Exception::Class perl v5.14.2 2012-11-09 Config::Model::Exception(3pm)
Similar Topics in the Unix Linux Community |
---|
DEC 3000 Model 800/800S AXP (RAM Required) |
Urgent---Program for getting Exception from a log |
Data Extraction From a File |
Connecting system to Virtual HMC |
Need exception handle for this script |