org.objectweb.perseus.fos.api

Class FosException


public class FosException
extends Exception

Defines the exception raised by all File Object Store related functions.

Author:
S. Chassande-Barrioz, P. D?chamboux

Constructor Summary

FosException(String errmsg)
Constructs an exception merely with an error message.
FosException(String errmsg, Exception e)
Constructs an exception with an error message and a nested exception.

Method Summary

Exception
getNestedException()
Returns the nested exception if any.

Constructor Details

FosException

public FosException(String errmsg)
Constructs an exception merely with an error message.

Parameters:
errmsg - The error message.


FosException

public FosException(String errmsg,
                    Exception e)
Constructs an exception with an error message and a nested exception.

Parameters:
errmsg - The error message.

Method Details

getNestedException

public Exception getNestedException()
Returns the nested exception if any.

Returns:
The nested exception.


Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.