1 48 49 package com.caucho.burlap.client; 50 51 54 public class BurlapRuntimeException extends RuntimeException { 55 private Throwable rootCause; 56 57 60 public BurlapRuntimeException() 61 { 62 } 63 64 67 public BurlapRuntimeException(String message) 68 { 69 super(message); 70 } 71 72 75 public BurlapRuntimeException(String message, Throwable rootCause) 76 { 77 super(message); 78 79 this.rootCause = rootCause; 80 } 81 82 85 public BurlapRuntimeException(Throwable rootCause) 86 { 87 super(String.valueOf(rootCause)); 88 89 this.rootCause = rootCause; 90 } 91 92 95 public Throwable getRootCause() 96 { 97 return this.rootCause; 98 } 99 100 103 public Throwable getCause() 104 { 105 return this.rootCause; 106 } 107 } 108 | Popular Tags |