|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ithit.webdav.server.exceptions.DavException
com.ithit.webdav.server.exceptions.MultistatusException
public class MultistatusException
Exception which shall be thrown when status for several items shall be known.
| Constructor Summary | |
|---|---|
MultistatusException()
Initializes a new instance of the MultistatusException class. |
|
| Method Summary | |
|---|---|
void |
addResponse(java.lang.String path,
Property property,
WebDavStatus status)
Adds response for a property. |
void |
addResponse(java.lang.String path,
Property property,
WebDavStatus status,
java.lang.String responseDescription,
java.lang.String propResponseDescription)
Adds response for a property with a description. |
void |
addResponse(java.lang.String path,
WebDavStatus status)
Adds response for an item. |
void |
addResponse(java.lang.String path,
WebDavStatus status,
java.lang.String href,
java.lang.String responseDescription)
Adds response for an item. |
void |
addResponses(Response... responses)
Adds responses for items. |
java.lang.String |
getResponseDescription()
Retrieves description of whole response. |
Response[] |
getResponses()
Gets the array of the responses for multiple hierarchy items in this multistatus response. |
void |
setResponseDescription(java.lang.String responseDescription)
Sets description of the response. |
| Methods inherited from class com.ithit.webdav.server.exceptions.DavException |
|---|
getLocalName, getNamespace, getStatus, setLocalName, setNamespace |
| 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 |
|---|
public MultistatusException()
MultistatusException class.
| Method Detail |
|---|
public void addResponses(Response... responses)
responses - responses.
public void addResponse(java.lang.String path,
WebDavStatus status)
path - item path.status - status for the item.
public void addResponse(java.lang.String path,
WebDavStatus status,
java.lang.String href,
java.lang.String responseDescription)
path - item path.status - status for the item.href - path to the response item.responseDescription - description of the response.
public void addResponse(java.lang.String path,
Property property,
WebDavStatus status)
path - path to an item property belongs to.property - property.status - status for the property.
public void addResponse(java.lang.String path,
Property property,
WebDavStatus status,
java.lang.String responseDescription,
java.lang.String propResponseDescription)
path - path to an item property belongs to.property - property.status - status for the property.responseDescription - description of the response for the item property belongs to.propResponseDescription - description for the property status.public Response[] getResponses()
public java.lang.String getResponseDescription()
public void setResponseDescription(java.lang.String responseDescription)
responseDescription - description of the response.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||