Config::Scoped::Error(3pm) User Contributed Perl Documentation Config::Scoped::Error(3pm)NAME
Config:Scoped::Error - an exception class hierarchy based on Error.pm for Config::Scoped
SYNOPSIS
use Config::Scoped::Error;
Config::Scoped::Error::Parse->throw(
-text => $parser_error,
-file => $config_file,
-line => $thisline,
);
Config::Scoped::Error::IO->throw(
-text => "can't open file: $!",
-file => $config_file,
-line => $thisline,
);
Config::Scoped::Error::Validate::Macro->throw(
-text => "macro redefinition: $macro_name",
-file => $config_file,
-line => $thisline,
);
DESCRIPTION
Config::Scoped::Error is a class hierarchy based on Error.pm. The following Exception class hierarchy is defined:
Config::Scoped::Error
Config::Scoped::Error::Parse
Config::Scoped::Error::Validate
Config::Scoped::Error::Validate::Macro
Config::Scoped::Error::Validate::Parameter
Config::Scoped::Error::Validate::Declaration
Config::Scoped::Error::Validate::Permissions
Config::Scoped::Error::IO
SEE ALSO
Config::Scoped, Error
AUTHOR
Karl Gaissmaier <karl.gaissmaier at uni-ulm.de>
COPYRIGHT AND LICENSE
Copyright (c) 2004-2008 by Karl Gaissmaier
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-03-16 Config::Scoped::Error(3pm)
Check Out this Related Man Page
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)
Hi All
When I compile one file.pc
I meet one error
Syntax error at line 105, column 4, file PRC_SVC_CALL.pc:
Error at line 105, column 4 in file PRC_SVC_CALL.pc
} TEMP;
...1
PCC-S-02201, Encountered the symbol "167776630" when expecting one of the follow
ing:
( ) [
The... (9 Replies)
I am using following code but getting error
Error on line 136:
(SQR 3710) Unknown argument type.
Given below part of program where i am getting error.......
input $p_region type=char
if ( '$p_region' = 'ESAP' )
let $msg = 'YES'
do log_msg ({PROG_NAME}, {SEV_INFO}, $msg)
else... (5 Replies)
Hi all,
We have below WARNING in /var/adm/messages file from our Solaris server.
WARNING: /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0 (sd0):
Error for Command: write(10) Error Level: Fatal
Requested Block: 16745265 Error Block: 16745269
Vendor: SEAGATE Serial Number:... (8 Replies)
Hello,
I know nothing about UNIX, ftp, etc. I am building an excel VBA macro which calls a .bat file. I've taken a pre-existing batch file and am trying to modify it to fit my purposes. I would be very grateful for some assistance.
Here is my .bat file:
echo off
set... (9 Replies)
Our log file looks like this:
2010-11-18 00:57:01,698 ERROR
Shipment Error Log:Error Details - Account Id:3962, PO:2710015, Line:2, File:221112901, Version:V1, Desc:Order cannot not be shipped as there are no line items in New state
2010-11-18 14:59:39,960 ERROR... (11 Replies)
The scope of the shell/perl script is to read the input text file. Validate the expiry date of each certificate and send the mail to the user. The user takes action to add the new certificate to the storage file and user owns the responsibility to update the input text file with the new certificate... (5 Replies)
While uploading an exl file to my application in Solaris 10 the upload failed with error Error! Parsing Error: /SPLM/TC83/tcdata83/model/model_dbextract.xml Line:65576 Column:73 An invalid XML character (Unicode: 0x1a) was found in the value of attribute "unitOfMeasureSymbol" and element is ... (12 Replies)
Hi all,
I have a piece of code which cork perfect. It copy the no of lines from some files (*.log) into finalLog file.
It read the lines after the line have text "ntot".
Here it is :
#!/bin/bash ... (10 Replies)
Hi ALL,
I want to replace string occurrence in my file "Config" using a external file named "Mapping" using awk.
$cat Config
! Configuration file for RAVI
! Configuration file for RACHANA
! Configuration file for BALLU
$cat Mapping
ravi:ram
rachana:shyam
ballu:hameed
The... (5 Replies)