org.bitrepository.service.exception
Class RequestHandlerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bitrepository.service.exception.RequestHandlerException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- IdentifyContributorException, IllegalOperationException, InvalidMessageException
public abstract class RequestHandlerException
- extends Exception
The exception for the request handlers.
- See Also:
- Serialized Form
RequestHandlerException
public RequestHandlerException(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.
RequestHandlerException
public RequestHandlerException(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.
getResponseInfo
public ResponseInfo getResponseInfo()
- Returns:
- The wrapped ResponseInfo.
getCollectionId
public String getCollectionId()
- Returns:
- The id of the collection regarding this exception.
setCollectionId
public void setCollectionId(String collectionId)
- Parameters:
collectionId
- The id of the collection.
toString
public String toString()
- Overrides:
toString
in class Throwable
Copyright © 2010-2013 The State and University Library, The Royal Library and The State Archives, Denmark. All Rights Reserved.