1 21 24 package org.lobobrowser.html.domimpl; 25 26 class StopVisitorException extends RuntimeException { 27 private final Object tag; 28 29 public StopVisitorException() { 30 super(); 31 this.tag = null; 32 } 33 34 public StopVisitorException(String message) { 35 super(message); 36 this.tag = null; 37 } 38 39 public StopVisitorException(String message, Throwable cause) { 40 super(message, cause); 41 this.tag = null; 42 } 43 44 public StopVisitorException(Throwable cause) { 45 super(cause); 46 this.tag = null; 47 } 48 49 public StopVisitorException(Object tag) { 50 this.tag = tag; 51 } 52 53 public final Object getTag() { 54 return this.tag; 55 } 56 } 57 | Popular Tags |