org.tranche.exceptions
Class ChunkAlreadyExistsSecurityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by org.tranche.exceptions.ChunkAlreadyExistsSecurityException
All Implemented Interfaces:
java.io.Serializable

public class ChunkAlreadyExistsSecurityException
extends java.security.GeneralSecurityException

Exception thrown only if trying to set a chunk that already exists and do not have sufficient privileges to delete.

Note that this should be a subclass of GeneralSecurityException, but because this is rethrown in RemoteUtil, needs to be either IOException or RuntimeException. Chose latter.

Author:
Bryan Smith - bryanesmith@gmail.com
See Also:
Serialized Form

Field Summary
static java.lang.String MESSAGE
           
 
Constructor Summary
ChunkAlreadyExistsSecurityException()
          Exception thrown only if trying to set a chunk that already exists and do not have sufficient privileges to delete.
 
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
 

Field Detail

MESSAGE

public static final java.lang.String MESSAGE
See Also:
Constant Field Values
Constructor Detail

ChunkAlreadyExistsSecurityException

public ChunkAlreadyExistsSecurityException()

Exception thrown only if trying to set a chunk that already exists and do not have sufficient privileges to delete.

Note that this should be a subclass of GeneralSecurityException, but because this is rethrown in RemoteUtil, needs to be either IOException or RuntimeException. Chose latter.



This code is free for use both commercially and non-commercially as stated in the project's license