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


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

This will construct a new Fault object

Create a _CUSTOM_ client fault with the specified message ($msg) and error code ($error_code).
Create a _CUSTOM_ server fault with the specified message ($msg) and error code ($error_code).
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 (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