org.apache.jetspeed.prefs
Class PropertyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.jetspeed.exception.JetspeedException
              extended byorg.apache.jetspeed.prefs.PropertyException
All Implemented Interfaces:
Serializable

public class PropertyException
extends JetspeedException

Exception throwns if a property or its set definition cannot be found or already exists.

Author:
David Le Strat
See Also:
Serialized Form

Field Summary
static String NODE_ALREADY_EXISTS
          Preferences node already exists exception message.
static String NODE_NOT_FOUND
          Preferences node not found exception message.
static String PROPERTYKEY_ALREADY_EXISTS
          Property key already exists exception message.
static String PROPERTYKEY_NOT_FOUND
          Property key not found exception message.
 
Fields inherited from class org.apache.jetspeed.exception.JetspeedException
KEYED_MESSAGE_BUNDLE
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
PropertyException()
          Default Constructor.
PropertyException(String message)
          Constructor with exception message.
PropertyException(String msg, Throwable nested)
          Constructor with exception message and nested exception.
PropertyException(Throwable nested)
          Constructor with nested exception.
 
Methods inherited from class org.apache.jetspeed.exception.JetspeedException
getKeyedMessage, getMessage, getMessage, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NODE_NOT_FOUND

public static final String NODE_NOT_FOUND
Preferences node not found exception message.

See Also:
Constant Field Values

NODE_ALREADY_EXISTS

public static final String NODE_ALREADY_EXISTS
Preferences node already exists exception message.

See Also:
Constant Field Values

PROPERTYKEY_NOT_FOUND

public static final String PROPERTYKEY_NOT_FOUND
Property key not found exception message.

See Also:
Constant Field Values

PROPERTYKEY_ALREADY_EXISTS

public static final String PROPERTYKEY_ALREADY_EXISTS
Property key already exists exception message.

See Also:
Constant Field Values
Constructor Detail

PropertyException

public PropertyException()

Default Constructor.


PropertyException

public PropertyException(String message)

Constructor with exception message.

Parameters:
message - The exception message.

PropertyException

public PropertyException(Throwable nested)

Constructor with nested exception.

Parameters:
nested - Nested exception.

PropertyException

public PropertyException(String msg,
                         Throwable nested)

Constructor with exception message and nested exception.

Parameters:
msg - The exception message.
nested - Nested exception.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.