1 8 package org.codehaus.dna; 9 10 16 public class MissingResourceException 17 extends Exception  18 { 19 22 private final Throwable m_cause; 23 24 27 private final String m_key; 28 29 36 public MissingResourceException( final String message, 37 final String key ) 38 { 39 this( message, key, null ); 40 } 41 42 50 public MissingResourceException( final String message, 51 final String key, 52 final Throwable cause ) 53 { 54 super( message ); 55 m_key = key; 56 m_cause = cause; 57 } 58 59 64 public String getKey() 65 { 66 return m_key; 67 } 68 69 74 public Throwable getCause() 75 { 76 return m_cause; 77 } 78 } 79 | Popular Tags |