1 38 package com.gargoylesoftware.htmlunit; 39 40 47 public class ElementNotFoundException extends RuntimeException { 48 private static final long serialVersionUID = 22133747152805455L; 49 50 private final String elementName_; 51 private final String attributeName_; 52 private final String attributeValue_; 53 54 55 63 public ElementNotFoundException( 64 final String elementName, final String attributeName, final String attributeValue ) { 65 super( "elementName=[" + elementName 66 + "] attributeName=[" + attributeName 67 + "] attributeValue=[" + attributeValue + "]" ); 68 69 elementName_ = elementName; 70 attributeName_ = attributeName; 71 attributeValue_ = attributeValue; 72 } 73 74 75 80 public String getElementName() { 81 return elementName_; 82 } 83 84 85 90 public String getAttributeName() { 91 return attributeName_; 92 } 93 94 95 100 public String getAttributeValue() { 101 return attributeValue_; 102 } 103 } 104 105 | Popular Tags |