1 57 package com.sun.org.apache.xerces.internal.xinclude; 58 59 62 public class XIncludeFatalError extends RuntimeException { 63 64 private String key; 65 private Object [] args; 66 67 71 public XIncludeFatalError(String key, Object [] args) { 72 this.key = key; 73 this.args = args; 74 } 75 76 79 public Object [] getArgs() { 80 return args; 81 } 82 83 86 public String getKey() { 87 return key; 88 } 89 90 public String getMessage() { 91 XIncludeMessageFormatter formatter = new XIncludeMessageFormatter(); 92 return formatter.formatMessage(null, key, args); 93 } 94 } 95 | Popular Tags |