1 28 29 package HTTPClient; 30 31 import java.io.IOException ; 32 33 40 41 class RetryException extends IOException 42 { 43 44 Request request = null; 45 46 47 Response response = null; 48 49 50 RetryException first = null; 51 52 53 RetryException next = null; 54 55 56 IOException exception = null; 57 58 59 boolean conn_reset = true; 60 61 62 boolean restart = false; 63 64 65 69 public RetryException() 70 { 71 super(); 72 } 73 74 75 81 public RetryException(String s) 82 { 83 super(s); 84 } 85 86 87 89 94 void addToListAfter(RetryException re) 95 { 96 if (re == null) return; 97 98 if (re.next != null) 99 this.next = re.next; 100 re.next = this; 101 } 102 } 103 104 | Popular Tags |