1 17 package com.sun.syndication.fetcher; 18 19 23 public class FetcherException extends Exception { 24 int responseCode; 25 26 public FetcherException(Throwable cause) { 27 super(); 28 initCause(cause); 29 } 30 31 public FetcherException(String message, Throwable cause) { 32 super(message); 33 initCause(cause); 34 } 35 36 public FetcherException(String message) { 37 super(message); 38 } 39 40 public FetcherException(int responseCode, String message) { 41 this(message); 42 this.responseCode = responseCode; 43 } 44 45 public int getResponseCode() { 46 return responseCode; 47 } 48 49 } 50 | Popular Tags |