marf.Storage
Class StorageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by marf.util.MARFException
              extended by marf.Storage.StorageException
All Implemented Interfaces:
java.io.Serializable, IMARFException

public class StorageException
extends MARFException

Class StorageException indicates a serialization/storage-related error.

$Id: StorageException.java,v 1.12 2005/12/22 00:37:36 mokhov Exp $

Since:
0.3.0.1
Version:
$Revision: 1.12 $
Author:
Serguei Mokhov
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          For serialization versioning.
 
Fields inherited from class marf.util.MARFException
strMessage
 
Constructor Summary
StorageException()
          Default parameterless storage error.
StorageException(java.lang.Exception poException)
          Exception wrapper constructor.
StorageException(java.lang.String pstrMessage)
          Generic exception.
StorageException(java.lang.String pstrMessage, java.lang.Exception poException)
          An storage exception with a message and wrapped exception object.
 
Method Summary
static java.lang.String getMARFSourceCodeRevision()
          Returns source code revision information.
 
Methods inherited from class marf.util.MARFException
create, create, create, create, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
For serialization versioning. When adding new members or make other structural changes regenerate this number with the serialver tool that comes with JDK.

Since:
0.3.0.4
See Also:
Constant Field Values
Constructor Detail

StorageException

public StorageException(java.lang.String pstrMessage)
Generic exception.

Parameters:
pstrMessage - Error message string

StorageException

public StorageException(java.lang.Exception poException)
Exception wrapper constructor.

Parameters:
poException - Exception object to wrap

StorageException

public StorageException()
Default parameterless storage error.

Since:
0.3.0.5

StorageException

public StorageException(java.lang.String pstrMessage,
                        java.lang.Exception poException)
An storage exception with a message and wrapped exception object.

Parameters:
pstrMessage - the desired custom message
poException - the wrapped exception object
Since:
0.3.0.5
Method Detail

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Returns source code revision information.

Returns:
revision string
Since:
0.3.0.2


SourceForge Logo