Edward Kawas > lsid-perl > LS::Service::Fault

Download:
lsid-perl-1.1.7.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

LS::Service::Fault - Generic fault generation for authority framework

SYNOPSIS ^

DESCRIPTION ^

The Fault class provides convenient methods for creating faults within authorities.

CONSTRUCTORS ^

new

This will construct a new Fault object

METHODS ^

clientFault ( $msg, $error_code)

Create a _CUSTOM_ client fault with the specified message ($msg) and error code ($error_code).

serverFault( $msg, )

Create a _CUSTOM_ server fault with the specified message ($msg) and error code ($error_code).

fault( $msg )

This creates a predefined fault based on the message. See the constructor code for more information on what messages can be passed to this function.

COPYRIGHT ^

Copyright (c) 2002,2003 IBM Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.opensource.org/licenses/cpl.php

syntax highlighting: