From 8520859c408de400b0969f8298949b90e09c63eb Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Fri, 4 Feb 2005 02:42:03 +0000 Subject: [PATCH] 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 --- .../org/apache/commons/lang/exception/NestableException.java | 4 +++- .../commons/lang/exception/NestableRuntimeException.java | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/commons/lang/exception/NestableException.java b/src/java/org/apache/commons/lang/exception/NestableException.java index 6b0e929d5..c4fbcaedb 100644 --- a/src/java/org/apache/commons/lang/exception/NestableException.java +++ b/src/java/org/apache/commons/lang/exception/NestableException.java @@ -84,7 +84,7 @@ import java.io.PrintWriter; * @author Kasper Nielsen * @author Steven Caswell * @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) { diff --git a/src/java/org/apache/commons/lang/exception/NestableRuntimeException.java b/src/java/org/apache/commons/lang/exception/NestableRuntimeException.java index ea0b4a733..b3cc0f9d5 100644 --- a/src/java/org/apache/commons/lang/exception/NestableRuntimeException.java +++ b/src/java/org/apache/commons/lang/exception/NestableRuntimeException.java @@ -28,7 +28,7 @@ import java.io.PrintWriter; * @author Kasper Nielsen * @author Steven Caswell * @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) {