missing @return, as per checkstyle

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151300 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2005-02-04 02:42:03 +00:00
parent 7cc5661f02
commit 8520859c40
2 changed files with 6 additions and 2 deletions

View File

@ -84,7 +84,7 @@ import java.io.PrintWriter;
* @author <a href="mailto:knielsen@apache.org">Kasper Nielsen</a>
* @author <a href="mailto:steven@caswell.name">Steven Caswell</a>
* @since 1.0
* @version $Id: NestableException.java,v 1.12 2004/08/04 18:41:09 ggregory Exp $
* @version $Id$
*/
public class NestableException extends Exception implements Nestable {
@ -151,6 +151,8 @@ public class NestableException extends Exception implements Nestable {
* Returns the detail message string of this throwable. If it was
* created with a null message, returns the following:
* (cause==null ? null : cause.toString()).
*
* @return String message string of the throwable
*/
public String getMessage() {
if (super.getMessage() != null) {

View File

@ -28,7 +28,7 @@ import java.io.PrintWriter;
* @author <a href="mailto:knielsen@apache.org">Kasper Nielsen</a>
* @author <a href="mailto:steven@caswell.name">Steven Caswell</a>
* @since 1.0
* @version $Id: NestableRuntimeException.java,v 1.10 2004/02/18 22:54:04 ggregory Exp $
* @version $Id$
*/
public class NestableRuntimeException extends RuntimeException implements Nestable {
@ -95,6 +95,8 @@ public class NestableRuntimeException extends RuntimeException implements Nestab
* Returns the detail message string of this throwable. If it was
* created with a null message, returns the following:
* (cause==null ? null : cause.toString()).
*
* @return String message string of the throwable
*/
public String getMessage() {
if (super.getMessage() != null) {