1 21 22 27 28 package com.sun.mail.iap; 29 30 33 34 public class ProtocolException extends Exception { 35 protected transient Response response = null; 36 37 private static final long serialVersionUID = -4360500807971797439L; 38 39 42 public ProtocolException() { 43 super(); 44 } 45 46 50 public ProtocolException(String s) { 51 super(s); 52 } 53 54 57 public ProtocolException(Response r) { 58 super(r.toString()); 59 response = r; 60 } 61 62 65 public Response getResponse() { 66 return response; 67 } 68 } 69 | Popular Tags |