public class BlankExceptNullArgumentException
extends java.lang.IllegalArgumentException
String argument is not null but
contains only whitespaces or is empty.| Constructor and Description |
|---|
BlankExceptNullArgumentException()
Convenience constructor if no argument name needs to be provided.
|
BlankExceptNullArgumentException(java.lang.String argName)
Convenience constructor.
|
BlankExceptNullArgumentException(java.lang.String argName,
java.lang.String message)
Default constructor.
|
public BlankExceptNullArgumentException()
public BlankExceptNullArgumentException(java.lang.String argName)
argName - the name of the String argument that contains only
whitespaces or was empty.public BlankExceptNullArgumentException(java.lang.String argName,
java.lang.String message)
argName - the name of the String argument that contains only
whitespaces or was empty.message - an optional additional message to provide information about
the context of the argument.IllegalArgumentException.IllegalArgumentException(String)