1 18 package net.sf.uitags.util; 19 20 21 27 public final class PropertiesLoadingException extends RuntimeException { 28 31 private static final long serialVersionUID = 52L; 32 33 37 40 private String filename; 41 42 43 44 48 51 public PropertiesLoadingException() { 52 super(); 53 } 54 55 60 public PropertiesLoadingException(String message) { 61 super(message); 62 } 63 64 69 public PropertiesLoadingException(Throwable cause) { 70 super(cause); 71 } 72 73 80 public PropertiesLoadingException(String message, Throwable cause) { 81 super(message, cause); 82 } 83 84 91 public PropertiesLoadingException(Throwable cause, String filename) { 92 super("Failed to load '" + filename + "'.", cause); 93 this.filename = filename; 94 } 95 96 97 98 102 107 public String getFilename() { 108 return this.filename; 109 } 110 } 111 | Popular Tags |