Config::Model::Exception man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Config::Model::ExceptiUser)Contributed Perl DocumenConfig::Model::Exception(3)

NAME
       Config::Model::Exception - Exception mechanism for configuration model

VERSION
       version 1.235

SYNOPSIS
	# internal

DESCRIPTION
       You 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) ;

AUTHOR
       Dominique Dumont, (ddumont at cpan dot org)

SEE ALSO
       Config::Model, Config::Model::Instance, Config::Model::Node,
       Config::Model::Value Exception::Class

perl v5.14.1			  2011-07-22	   Config::Model::Exception(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net