Groovy Documentation

griffon.plugins.preferences
[Java] Class NoSuchPreferenceException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          java.lang.RuntimeException
              griffon.plugins.preferences.NoSuchPreferenceException

public class NoSuchPreferenceException
extends RuntimeException

Authors:
Andres Almiray


Field Summary
private String path

 
Constructor Summary
NoSuchPreferenceException(String path)

Create a new exception.

 
Method Summary
String getKey()

Get the path 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

path

private String path


 
Constructor Detail

NoSuchPreferenceException

public NoSuchPreferenceException(String path)
Create a new exception.
Parameters:
path - preference path


 
Method Detail

getKey

public String getKey()
Get the path without a valid value
Returns:
The path


 

Groovy Documentation