org.openxri.resolve.exception.XRDErrorStatusException Maven / Gradle / Ivy
The newest version!
/**
*
*/
package org.openxri.resolve.exception;
import org.openxri.xml.XRD;
/**
* This exception is thrown to encapsulate an XRD node with a non-100 status code.
* @author wtan
*
*/
public class XRDErrorStatusException extends XRIResolutionException {
protected XRD xrd = null;
/**
* @param xrd
*/
public XRDErrorStatusException(XRD xrd) {
super("XRD contains a non-SUCCESS status code");
this.xrd = xrd;
}
/**
* @return Returns the xrd.
*/
public XRD getXRD() {
return xrd;
}
}