messif.buckets
Class DuplicateObjectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by messif.buckets.BucketStorageException
              extended by messif.buckets.DuplicateObjectException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateObjectException
extends BucketStorageException

Thrown to indicate that the bucket already contains the inserted object.

See Also:
Serialized Form

Constructor Summary
DuplicateObjectException()
          Creates a new instance of DuplicateObjectException without detail message.
DuplicateObjectException(java.lang.String msg)
          Constructs an instance of DuplicateObjectException with the specified detail message.
 
Method Summary
 
Methods inherited from class messif.buckets.BucketStorageException
getErrorCode
 
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

DuplicateObjectException

public DuplicateObjectException()
Creates a new instance of DuplicateObjectException without detail message.


DuplicateObjectException

public DuplicateObjectException(java.lang.String msg)
Constructs an instance of DuplicateObjectException with the specified detail message.

Parameters:
msg - the detail message