You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2002/10/13 14:57:38 UTC
cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections BufferUnderflowException.java
scolebourne 2002/10/13 05:57:38
Modified: collections/src/java/org/apache/commons/collections
BufferUnderflowException.java
Log:
Tidy javadoc and code layout
Revision Changes Path
1.5 +30 -27 jakarta-commons/collections/src/java/org/apache/commons/collections/BufferUnderflowException.java
Index: BufferUnderflowException.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/BufferUnderflowException.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- BufferUnderflowException.java 15 Aug 2002 20:04:31 -0000 1.4
+++ BufferUnderflowException.java 13 Oct 2002 12:57:38 -0000 1.5
@@ -63,48 +63,51 @@
/**
* The BufferUnderflowException is used when the buffer is already empty
*
+ * @author Avalon
* @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
* @author <a href="mailto:jefft@apache.org">Jeff Turner</a>
- * @since Avalon 4.0
+ * @author Paul Jack
+ * @author Stephen Colebourne
+ * @since 2.1
* @version $Id$
*/
-public class BufferUnderflowException extends RuntimeException
-{
+public class BufferUnderflowException extends RuntimeException {
private final Throwable m_throwable;
- /** Construct a new BufferUnderflowException.
- * @param message The detail message for this exception.
+ /**
+ * Constructs a new <code>BufferUnderflowException</code>.
*/
- public BufferUnderflowException( String message )
- {
- this( message, null );
+ public BufferUnderflowException() {
+ super();
+ m_throwable = null;
}
- /** Construct a new BufferUnderflowException.
- * @param message The detail message for this exception.
- * @param throwable the root cause of the exception
+ /**
+ * Construct a new <code>BufferUnderflowException</code>.
+ *
+ * @param message the detail message for this exception
*/
- public BufferUnderflowException( String message, Throwable exception )
- {
- super( message );
- m_throwable = exception;
+ public BufferUnderflowException(String message) {
+ this(message, null);
}
- /**
- * Constructs a new <Code>BufferUnderflowException</Code>.
+ /**
+ * Construct a new <code>BufferUnderflowException</code>.
+ *
+ * @param message the detail message for this exception
+ * @param throwable the root cause of the exception
*/
- public BufferUnderflowException() {
- super();
- m_throwable = null;
+ public BufferUnderflowException(String message, Throwable exception) {
+ super(message);
+ m_throwable = exception;
}
/**
- * Retrieve root cause of the exception.
+ * Gets the root cause of the exception.
*
* @return the root cause
*/
- public final Throwable getCause()
- {
+ public final Throwable getCause() {
return m_throwable;
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>