org.openrdf.http.object.exceptions
Class Conflict
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openrdf.http.object.exceptions.ResponseException
org.openrdf.http.object.exceptions.Conflict
- All Implemented Interfaces:
- Serializable
public class Conflict
- extends ResponseException
The request could not be completed due to a conflict with the current state
of the resource. This code is only allowed in situations where it is expected
that the user might be able to resolve the conflict and resubmit the request.
The response body SHOULD include enough information for the user to recognize
the source of the conflict. Ideally, the response entity would include enough
information for the user or user agent to fix the problem; however, that
might not be possible and is not required.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Conflict
public Conflict()
Conflict
public Conflict(String message)
Conflict
public Conflict(String message,
Throwable cause)
Conflict
public Conflict(Throwable cause)
Conflict
public Conflict(String message,
String stack)
getStatusCode
public int getStatusCode()
- Specified by:
getStatusCode in class ResponseException
isCommon
public boolean isCommon()
- Specified by:
isCommon in class ResponseException
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.