1 package org.bouncycastle.i18n; 2 3 public class MissingEntryException extends RuntimeException 4 { 5 6 protected final String resource; 7 protected final String key; 8 9 public MissingEntryException(String message, String resource, String key) 10 { 11 super(message); 12 this.resource = resource; 13 this.key = key; 14 } 15 16 public String getKey() 17 { 18 return key; 19 } 20 21 public String getResource() 22 { 23 return resource; 24 } 25 26 } 27