Config::Model::Exception(3pm) User Contributed Perl Documentation Config::Model::Exception(3pm)NAME
Config::Model::Exception - Exception mechanism for configuration model
VERSION
version 2.021
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.2 2012-11-09 Config::Model::Exception(3pm)
Check Out this Related Man Page
Config::Model::Backend::Debian::Dpkg::Patch(3pm) User Contributed Perl Documentation Config::Model::Backend::Debian::Dpkg::Patch(3pm)NAME
Config::Model::Backend::Debian::Dpkg::Patch - Read and write Debian Dpkg Patch information
VERSION
version 2.021
SYNOPSIS
No synopsis. This class is dedicated to configuration class "Debian::Dpkg::Patch"
DESCRIPTION
This module is used directly by Config::Model to read or write the content of Debian "Patch" file.
All "Patch" files keyword are read in a case-insensitive manner.
CONSTRUCTOR
new ( node => $node_obj, name => 'Debian::Dpkg::Patch' ) ;
Inherited from Config::Model::Backend::Any. The constructor will be called by Config::Model::AutoRead.
read ( io_handle => ... )
Of all parameters passed to this read call-back, only "io_handle" is used. This parameter must be IO::File object already opened for read.
It can also be undef. In this case, "read()" will return 0.
When a file is read, "read()" will return 1.
write ( io_handle => ... )
Of all parameters passed to this write call-back, only "io_handle" is used. This parameter must be IO::File object already opened for
write.
"write()" will return 1.
AUTHOR
Dominique Dumont, (ddumont at cpan dot org)
SEE ALSO
Config::Model, Config::Model::AutoRead, Config::Model::Backend::Any,
perl v5.14.2 2012-11-09 Config::Model::Backend::Debian::Dpkg::Patch(3pm)
Hi all,
Have two legacy DEC 3000 Model 800/800S AXP boxes and woud apart from learning how to set them up properly, I'd like to also increase the amount of RAM on both (or at least one) of the servers.
Currently I've moved all the RAM from the second box into the primary box which now holds a... (2 Replies)
Hello:
I'm new to unix and need to know if my unix server has the network configuration configured correctly. I need to add a gateway and don't know how to. Any help.
Thx.
George (6 Replies)
Hi everybody,
I want ask if it is possible to copy all storage structure (VGs, LVs & filesystems) from one server to another. In other words, I want to move my system from old server to new one, so I want the new server exactly have the same sizes and number of VGs, LVs, & filesystems.
Thanks... (11 Replies)
Hi Friends,
I am new to Unix,
Now I am Working with shell scripting in my company
Description:-By executing that script I need to get the exception from the log file
I need the program for getting the Exceptions from the logfile,,and that program should be generic...I mean if i want to... (5 Replies)
Hi All,
I have a requirement where I have to search the file with some text say "Exception". This exception word can be repeated for more then 10 times.
Suppose the "Exception" word is repeated at line numbers say x=10, 50, 60, 120. Now I want to extract all the lines starting from x-5 to... (3 Replies)
HI all!
this is my problem:
my boss got a Model 43P 7248-100 PowerPC server with the AIX 4.2 os, but some days ago it crashed and now it doesn't want to boot up again, it stops after the initial diagnostic phase with the "PowerPC" screen!
I must recover some important data from the hard disk, so... (6 Replies)
Hey I have an IBM
IntelliStation Power 9114 Model 275 1.45GHz Workstation
1-Way 1.45GHz Power4+ Processor (5223)
2GB Memory (4x 512MB Dimms) (4447)
and was told that AIX 5.3 works on it, and that there was problems with Linux installs.
Can I download AIX 5.3 or do I need to buy... (13 Replies)
Discussion started by: newtoaix
13 Replies
9. Post Here to Contact Site Administrators and Moderators
Hello,
an employee just left the company and a new user has taken his place.
the request is to for the new user to have the same access to the servers as the old employee had.
the old user still has his account present on the servers. can anyone tell me an easy way of doing this? without... (10 Replies)
Hi
I tried googling about it and I couldn't really find a solid answer. Why is the compiler missing the exception class when it seems to be a standard class?
The code is here:
//Rijndael.h
#ifndef __RIJNDAEL_H__
#define __RIJNDAEL_H__
#include <exception>
#include <cstring>
using... (6 Replies)
My company has several HP Model 715/100 machines running HP-UX 9 , that can't really be upgraded due to compatibility issues with some equipment it's tied to. Each UX box mounts a directory off of a Windows NT4 machine acting as an NFS server (using DiskShare Server 3 and 4), and as we upgrade the... (3 Replies)
Hi,
I just successfully build a Virtual Machine in virtual box with Perfectly running HMC v7. I have a IBM eServer pSeries Model 630 Model 6C4 (Power 4) i.e. 7024-6C4. I am not able to have it connect to the HMC console on the Virtual Box.
Can anyone help me on how to connect it to the... (8 Replies)
Hi
This is script to move log files from one location to other which is working fine. I need to add exception handling in this new to scripting. Please help
#!/bin/ksh
DB=QACCABOP
dumppath='/udb/udbpa032/dump_data/offshore/Tran_logs'
msg='/udb/udbpa032/utilities/DBAscripts/msg/msg.out'... (4 Replies)
Hello Experts,
I have a log file that contains 4 different type of exception :
1- Exception
2- Fatal
3- Error
4- Exec
My requirement is to find count of each type of exception, i tried using combination of -E and -C but that doesn't seems to be working :
grep -ec 'Exception' -ec... (4 Replies)