|
Griffon 1.2.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
griffon.core.resources.NoSuchResourceException
public class NoSuchResourceException extends RuntimeException
| Field Summary | |
|---|---|
private String |
key
|
private Locale |
locale
|
| Constructor Summary | |
NoSuchResourceException(String key, Locale locale)
Create a new exception. |
|
NoSuchResourceException(String key)
Create a new exception. |
|
| Method Summary | |
|---|---|
String
|
getKey()
Get the key without a valid value |
Locale
|
getLocale()
Get the locale without a valid value |
| Methods inherited from class RuntimeException | |
|---|---|
| printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
| Methods inherited from class Exception | |
|---|---|
| printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private String key
private Locale locale
| Constructor Detail |
|---|
public NoSuchResourceException(String key, Locale locale)
key - message that could not be resolved for given localelocale - locale that was used to search for the code within
public NoSuchResourceException(String key)
key - key that could not be resolved for given locale
| Method Detail |
|---|
public String getKey()
public Locale getLocale()
Groovy Documentation