com.bradmcevoy.http.exceptions
Class ConflictException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bradmcevoy.http.exceptions.MiltonException
              extended by com.bradmcevoy.http.exceptions.ConflictException
All Implemented Interfaces:
java.io.Serializable

public class ConflictException
extends MiltonException

Indicates that the requested operation could not be performed because of prior state. Ie there is an existing resource preventing a new one from being created.

See Also:
Serialized Form

Constructor Summary
ConflictException(Resource r)
          The resource idenfitied by the URI.
ConflictException(Resource r, java.lang.String message)
           
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class com.bradmcevoy.http.exceptions.MiltonException
getResource
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ConflictException

public ConflictException(Resource r)
The resource idenfitied by the URI.

Parameters:
r -

ConflictException

public ConflictException(Resource r,
                         java.lang.String message)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


Copyright © 2011. All Rights Reserved.