org.bitrepository.service.exception
Class IllegalOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bitrepository.service.exception.RequestHandlerException
org.bitrepository.service.exception.IllegalOperationException
- All Implemented Interfaces:
- Serializable
public class IllegalOperationException
- extends RequestHandlerException
Exception for telling, that a given operation is illegal.
This might involve: deleting with a invalid checksum, performing the 'Get' operation on a ChecksumPillar, etc.
- See Also:
- Serialized Form
IllegalOperationException
public IllegalOperationException(ResponseInfo rInfo,
String collectionId)
- Constructor.
- Parameters:
rInfo
- The ResponseInfo for this class to wrap.collectionID
- The id of the collection. Use 'null' if no collection is relevant.
IllegalOperationException
public IllegalOperationException(ResponseInfo rInfo,
String collectionId,
Exception e)
- Constructor.
- Parameters:
rInfo
- The ResponseInfo for this class to wrap.collectionID
- The id of the collection. Use 'null' if no collection is relevant.e
- The exception to wrap into the StackTrace.
Copyright © 2010-2013 The State and University Library, The Royal Library and The State Archives, Denmark. All Rights Reserved.