public class AsposeArgumentNullException extends AsposeArgumentException
The ArgumentException is thrown when an argument is null when it shouldn't be.
Constructor and Description |
---|
AsposeArgumentNullException()
Initializes a new instance of the
T:Aspose.Email.AsposeArgumentNullException class. |
AsposeArgumentNullException(com.aspose.ms.System.Exception innerException)
Initializes a new instance of the
T:Aspose.Email.AsposeArgumentNullException class
with a reference to the inner exception that is the cause of this exception. |
AsposeArgumentNullException(String message)
Initializes a new instance of the
T:Aspose.Email.AsposeArgumentNullException class with a specified error message. |
AsposeArgumentNullException(String message,
com.aspose.ms.System.Exception innerException)
Initializes a new instance of the
T:Aspose.Email.AsposeException class
with a specified error message and a reference to the inner exception that is the cause of this exception. |
AsposeArgumentNullException(String paramName,
String message)
Initializes a new instance of the
T:Aspose.Email.AsposeException class
with a specified error message and a reference to the inner exception that is the cause of this exception. |
getMessage, getParamName
toString
getHResult, getInnerException, getType, setErrorCode, setHResult
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AsposeArgumentNullException()
Initializes a new instance of the T:Aspose.Email.AsposeArgumentNullException
class.
public AsposeArgumentNullException(String message)
Initializes a new instance of the T:Aspose.Email.AsposeArgumentNullException
class with a specified error message.
message
- The message that describes the error.public AsposeArgumentNullException(String message, com.aspose.ms.System.Exception innerException)
Initializes a new instance of the T:Aspose.Email.AsposeException
class
with a specified error message and a reference to the inner exception that is the cause of this exception.
message
- The error message that explains the reason for the exception.innerException
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.public AsposeArgumentNullException(String paramName, String message)
Initializes a new instance of the T:Aspose.Email.AsposeException
class
with a specified error message and a reference to the inner exception that is the cause of this exception.
message
- The error message that explains the reason for the exception.paramName
- a String
object.public AsposeArgumentNullException(com.aspose.ms.System.Exception innerException)
Initializes a new instance of the T:Aspose.Email.AsposeArgumentNullException
class
with a reference to the inner exception that is the cause of this exception.
innerException
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.