1 23 package org.apache.slide.webdav.util; 24 25 import org.apache.slide.webdav.WebdavException; 27 28 34 public class PreconditionViolationException extends WebdavException { 35 36 39 protected ViolatedPrecondition violatedPrecondition = null; 40 41 44 protected String objectUri = null; 45 46 47 54 public PreconditionViolationException(ViolatedPrecondition violatedPrecondition, 55 String objectUri) { 56 super(violatedPrecondition.getStatusCode()); 57 this.violatedPrecondition = violatedPrecondition; 58 this.objectUri = objectUri; 59 } 60 61 66 public ViolatedPrecondition getViolatedPrecondition() { 67 return violatedPrecondition; 68 } 69 70 75 public String getObjectUri() { 76 return objectUri; 77 } 78 79 } 80 81 | Popular Tags |