Replacing tabs with spaces to keep checkstyle happy.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137676 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
da6c19af5b
commit
a9a2f485e7
|
@ -60,17 +60,16 @@ package org.apache.commons.lang;
|
|||
* @author Matthew Hawthorne
|
||||
* @author Stephen Colebourne
|
||||
* @since 2.0
|
||||
* @version $Id: NullArgumentException.java,v 1.5 2003/08/18 02:22:23 bayard Exp $
|
||||
* @version $Id: NullArgumentException.java,v 1.6 2003/09/24 20:28:25 fredrik Exp $
|
||||
*/
|
||||
public class NullArgumentException extends IllegalArgumentException {
|
||||
|
||||
/**
|
||||
* <p>Instantiates with the given argument name.</p>
|
||||
*
|
||||
* @param argName the name of the argument that was <code>null</code>.
|
||||
*/
|
||||
public NullArgumentException(String argName) {
|
||||
super(argName + " must not be null.");
|
||||
}
|
||||
|
||||
/**
|
||||
* <p>Instantiates with the given argument name.</p>
|
||||
*
|
||||
* @param argName the name of the argument that was <code>null</code>.
|
||||
*/
|
||||
public NullArgumentException(String argName) {
|
||||
super(argName + " must not be null.");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,30 +58,30 @@ import org.apache.commons.lang.exception.NestableRuntimeException;
|
|||
/**
|
||||
* Thrown when it is impossible or undesirable to consume
|
||||
* or throw a checked exception.
|
||||
*
|
||||
*
|
||||
* @author Matthew Hawthorne
|
||||
* @since 2.0
|
||||
* @version $Id: UnhandledException.java,v 1.3 2003/08/18 02:22:23 bayard Exp $
|
||||
* @version $Id: UnhandledException.java,v 1.4 2003/09/24 20:28:25 fredrik Exp $
|
||||
*/
|
||||
public class UnhandledException extends NestableRuntimeException {
|
||||
|
||||
/**
|
||||
* Constructs the exception using a cause.
|
||||
*
|
||||
*
|
||||
* @param cause the underlying cause
|
||||
*/
|
||||
public UnhandledException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
public UnhandledException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs the exception using a message and cause.
|
||||
*
|
||||
*
|
||||
* @param message the message to use
|
||||
* @param cause the underlying cause
|
||||
*/
|
||||
public UnhandledException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
public UnhandledException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue