1 23 24 package org.infoglue.cms.exception; 25 26 27 35 public class Bug extends Error { 36 39 private Throwable cause; 41 42 43 44 47 52 public Bug(String message) { 53 super(message); 54 } 55 56 62 public Bug(String message, Throwable cause) { 63 this(message); 64 this.cause = cause; 65 } 66 67 68 69 71 77 public Throwable getCause() { 78 return this.cause; 79 } 80 81 82 83 } | Popular Tags |