|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
System.SystemException
System.ArgumentException
System.ArgumentNullException
public class ArgumentNullException
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
Constructor Summary | |
---|---|
ArgumentNullException()
Initializes a new instance of the ArgumentNullException class. |
|
ArgumentNullException(java.lang.String paramName)
Initializes a new instance of the ArgumentNullException class with the name of the parameter that causes this exception. |
|
ArgumentNullException(java.lang.String paramName,
java.lang.String message)
Initializes an instance of the ArgumentNullException class with a specified error message and the name of the parameter that causes this exception. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArgumentNullException()
public ArgumentNullException(java.lang.String paramName)
paramName
- The name of the parameter that caused the exception.public ArgumentNullException(java.lang.String paramName, java.lang.String message)
paramName
- The name of the parameter that caused the exception.message
- A message that describes the error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |