public class DetailedNullPointerException extends NullPointerException
Constructor and Description |
---|
DetailedNullPointerException(String argumentName)
Create an instance
|
DetailedNullPointerException(String argumentName,
String message)
Create an instance
|
Modifier and Type | Method and Description |
---|---|
String |
getArgumentName()
Return the name of the argument that was null.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DetailedNullPointerException(String argumentName, String message)
argumentName
- The name of the argument that was nullmessage
- The message to use in the exceptionpublic DetailedNullPointerException(String argumentName)
argumentName
- The name of the argument that was nullpublic String getArgumentName()
Copyright © 1998–2014 Gargoyle Software Inc.. All rights reserved.