public class DetailedNullPointerException
extends java.lang.NullPointerException
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
argumentName_ |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
DetailedNullPointerException(java.lang.String argumentName)
Create an instance
|
DetailedNullPointerException(java.lang.String argumentName,
java.lang.String message)
Create an instance
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getArgumentName()
Return the name of the argument that was null.
|
private static final long serialVersionUID
private final java.lang.String argumentName_
public DetailedNullPointerException(java.lang.String argumentName,
java.lang.String message)
argumentName - The name of the argument that was nullmessage - The message to use in the exceptionpublic DetailedNullPointerException(java.lang.String argumentName)
argumentName - The name of the argument that was null