org.apache.commons.resources
Class ResourcesException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.apache.commons.resources.ResourcesException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ResourcesKeyException
- public class ResourcesException
- extends RuntimeException
- implements Serializable
This class is a general purpose wrapper exception for problems
pertaining to Resources.
- See Also:
- Serialized Form
ResourcesException
public ResourcesException(String message)
- Construct an Exception with the specified message.
- Parameters:
message - The message.
ResourcesException
public ResourcesException(Throwable rootCause)
- Construct an Exception with the specified cause.
- Parameters:
rootCause - Cause of the exception.
ResourcesException
public ResourcesException(String message,
Throwable rootCause)
- Construct an Exception with the specified message.
and cause.
- Parameters:
message - The message.rootCause - Cause of the exception.
getMessage
public String getMessage()
- Return the message.
- Overrides:
getMessage in class Throwable
- Returns:
- The message.
getRootCause
public Throwable getRootCause()
- Return the cause.
- Returns:
- The cause of the Exception.
Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.