1 2 17 18 package org.apache.poi.hpsf; 19 20 30 public class HPSFException extends Exception  31 { 32 33 37 private Throwable reason; 38 39 40 41 44 public HPSFException() 45 { 46 super(); 47 } 48 49 50 51 56 public HPSFException(final String msg) 57 { 58 super(msg); 59 } 60 61 62 63 69 public HPSFException(final Throwable reason) 70 { 71 super(); 72 this.reason = reason; 73 } 74 75 76 77 85 public HPSFException(final String msg, final Throwable reason) 86 { 87 super(msg); 88 this.reason = reason; 89 } 90 91 92 93 100 public Throwable getReason() 101 { 102 return reason; 103 } 104 105 } 106 | Popular Tags |