011ad9f4bf
* gconf/GConf/Client.cs: * gconf/GConf/NoSuchKeyException.cs: added key string to the exception when Get does not find it. svn path=/trunk/gtk-sharp/; revision=11544
18 lines
281 B
C#
18 lines
281 B
C#
namespace GConf
|
|
{
|
|
using System;
|
|
|
|
public class NoSuchKeyException : Exception
|
|
{
|
|
public NoSuchKeyException ()
|
|
: base ("The requested GConf key was not found")
|
|
{
|
|
}
|
|
|
|
public NoSuchKeyException (string key)
|
|
: base ("Key '" + key + "' not found in GConf")
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|