/** * @param templateName * @return Returns a reference to this object so that method calls can be chained together. */ public MissingRenderingAttributeException withTemplateName(String templateName) { setTemplateName(templateName); 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("MissingRenderingAttribute")) return null; MissingRenderingAttributeException e = (MissingRenderingAttributeException) super.unmarshall(node); e.setTemplateName(XpathUtils.asString(getErrorPropertyPath("TemplateName"), 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("MissingRenderingAttribute")) return null; MissingRenderingAttributeException e = (MissingRenderingAttributeException) super .unmarshall(node); e.setTemplateName(XpathUtils.asString(getErrorPropertyPath("TemplateName"), node)); return e; } }
/** * @param templateName * @return Returns a reference to this object so that method calls can be chained together. */ public MissingRenderingAttributeException withTemplateName(String templateName) { setTemplateName(templateName); 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("MissingRenderingAttribute")) return null; MissingRenderingAttributeException e = (MissingRenderingAttributeException) super.unmarshall(node); e.setTemplateName(XpathUtils.asString(getErrorPropertyPath("TemplateName"), node)); return e; } }