/** * @param boxUsage * @return Returns a reference to this object so that method calls can be chained together. */ public InvalidParameterValueException withBoxUsage(Float boxUsage) { setBoxUsage(boxUsage); return this; }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("InvalidParameterValue")) return null; InvalidParameterValueException e = (InvalidParameterValueException) super.unmarshall(node); e.setBoxUsage(XpathUtils.asFloat(getErrorPropertyPath("BoxUsage"), node)); return e; } }
public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands. String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("InvalidParameterValue")) return null; InvalidParameterValueException e = (InvalidParameterValueException)super.unmarshall(node); e.setBoxUsage(XpathUtils.asFloat(getErrorPropertyPath("BoxUsage"), node)); return e; } }
/** * @param boxUsage * @return Returns a reference to this object so that method calls can be chained together. */ public InvalidParameterValueException withBoxUsage(Float boxUsage) { setBoxUsage(boxUsage); return this; }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("InvalidParameterValue")) return null; InvalidParameterValueException e = (InvalidParameterValueException) super.unmarshall(node); e.setBoxUsage(XpathUtils.asFloat(getErrorPropertyPath("BoxUsage"), node)); return e; } }