org.apache.lucene.gdata.storage
Class StorageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.lucene.gdata.storage.StorageException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ModificationConflictException, RecoverException, ResourceNotFoundException

public class StorageException
extends RuntimeException

The StorageException will be throw if any error or exception inside the storage implementation occures. This exception hides all other exceptions from inside the storage.

Author:
Simon Willnauer
See Also:
Serialized Form

Constructor Summary
StorageException()
          Constructs a new StorageException
StorageException(String message)
          Constructs a new StorageException
StorageException(String message, Throwable cause)
          Constructs a new StorageException
StorageException(Throwable cause)
          Constructs a new StorageException
 
Method Summary
 
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

StorageException

public StorageException()
Constructs a new StorageException


StorageException

public StorageException(String message)
Constructs a new StorageException

Parameters:
message - - the exception message

StorageException

public StorageException(String message,
                        Throwable cause)
Constructs a new StorageException

Parameters:
message - - the exception message
cause - - the root cause of this exception

StorageException

public StorageException(Throwable cause)
Constructs a new StorageException

Parameters:
cause - - the root cause of this exception


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.