org.objectweb.perseus.fos.api
Class FosException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.objectweb.perseus.fos.api.FosException
All Implemented Interfaces:
java.io.Serializable

public class FosException
extends java.lang.Exception

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

Author:
S. Chassande-Barrioz, P. Déchamboux
See Also:
Serialized Form

Constructor Summary
FosException(java.lang.String errmsg)
          Constructs an exception merely with an error message.
FosException(java.lang.String errmsg, java.lang.Exception e)
          Constructs an exception with an error message and a nested exception.
 
Method Summary
 java.lang.Exception getNestedException()
          Returns the nested exception if any.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FosException

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

Parameters:
errmsg - The error message.

FosException

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

Parameters:
errmsg - The error message.
Method Detail

getNestedException

public java.lang.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.