1 48 49 package com.caucho.burlap.client; 50 51 import java.io.IOException ; 52 53 57 public class BurlapProtocolException extends IOException { 58 private Throwable rootCause; 59 60 63 public BurlapProtocolException() 64 { 65 } 66 67 70 public BurlapProtocolException(String message) 71 { 72 super(message); 73 } 74 75 78 public BurlapProtocolException(String message, Throwable rootCause) 79 { 80 super(message); 81 82 this.rootCause = rootCause; 83 } 84 85 88 public BurlapProtocolException(Throwable rootCause) 89 { 90 super(String.valueOf(rootCause)); 91 92 this.rootCause = rootCause; 93 } 94 95 98 public Throwable getRootCause() 99 { 100 return rootCause; 101 } 102 } 103 | Popular Tags |