1
package org.bouncycastle.i18n;
4
import java.util.Locale;
6
public class MissingEntryException extends RuntimeException
9
protected final String resource;
10
protected final String key;
11
protected final ClassLoader loader;
12
protected final Locale locale;
14
private String debugMsg;
16
public MissingEntryException(String message, String resource, String key, Locale locale, ClassLoader loader)
19
this.resource = resource;
25
public MissingEntryException(String message, Throwable cause, String resource, String key, Locale locale, ClassLoader loader)
27
super(message + ": " + cause);
28
this.resource = resource;
34
public String getKey()
39
public String getResource()
44
public ClassLoader getClassLoader()
49
public Locale getLocale()
54
public String getDebugMsg()
58
debugMsg = "Can not find entry " + key + " in resource file " + resource + " for the locale " + locale + ".";