*** empty log message ***

This commit is contained in:
Eric J. Bowersox
2003-05-20 03:25:31 +00:00
commit b80fa05ed1
682 changed files with 85738 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
/*
* The contents of this file are subject to the Mozilla Public License Version 1.1
* (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
*
* Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
* WARRANTY OF ANY KIND, either express or implied. See the License for the specific
* language governing rights and limitations under the License.
*
* The Original Code is the Venice Web Communities System.
*
* The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
* for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
* Copyright (C) 2002 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
*
* Contributor(s):
*/
package com.silverwrist.dynamo.except;
import java.util.Locale;
public class GroupRuntimeException extends DynamoRuntimeException
{
/*--------------------------------------------------------------------------------
* Constructor
*--------------------------------------------------------------------------------
*/
public GroupRuntimeException(DynamoException inner)
{
super(inner);
} // end constructor
/*--------------------------------------------------------------------------------
* Overrides from class Throwable
*--------------------------------------------------------------------------------
*/
public String getMessage()
{
return getCause().getMessage();
} // end getMessage
/**
* Creates a localized description of this exception. Subclasses may override this method in
* order to produce a locale-specific message. For subclasses that do not override this method,
* the default implementation returns the same result as <CODE>getMessage()</CODE>.
*
* @return The localized description of this exception.
*/
public String getLocalizedMessage()
{
return getCause().getLocalizedMessage();
} // end getLocalizedMessage
/*--------------------------------------------------------------------------------
* Overrides from class DynamoRuntimeException
*--------------------------------------------------------------------------------
*/
/**
* Creates a localized description of this exception. Subclasses may override this method in
* order to produce a locale-specific message. For subclasses that do not override this method,
* the default implementation returns the same result as <CODE>getLocalizedMessage()</CODE>.
*
* @param locale The locale to render the message in.
* @return The localized description of this exception.
*/
public String getLocalizedMessage(Locale locale)
{
return ((DynamoException)getCause()).getLocalizedMessage(locale);
} // end getLocalizedMessage
} // end class GroupRuntimeException