GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CONFIG::MODEL::EXCEPTION (3)

.ds Aq ’

NAME

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

CONTENTS

VERSION

version 2.082

SYNOPSIS



  use  Config::Model::Exception;

  # later
  my $kaboom = 1;
  Config::Model::Exception::Model->throw(
      error  => "Went kaboom",
      object => $self
  ) if $kaboom;



DESCRIPTION

This module creates exception classes used by Config::Model.

All exception class name begins with Config::Model::Exception

The exception classes are:
Config::Model::Exception 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 all exception classes:



  Config::Model::Exception->Trace(1) ;



AUTHOR

Dominique Dumont, (ddumont at cpan dot org)

SEE ALSO

Config::Model, Config::Model::Instance, Config::Model::Node, Config::Model::Value

AUTHOR

Dominique Dumont

COPYRIGHT AND LICENSE

This software is Copyright (c) 2005-2016 by Dominique Dumont.

This is free software, licensed under:



  The GNU Lesser General Public License, Version 2.1, February 1999



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CONFIG::MODEL::EXCEPTION (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.