**Inheritance:**
java.lang.Object, java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.aspose.ms.System.Exception com.aspose.ms.System.SystemException com.aspose.ms.System.NotImplementedException com.aspose.pdf.exceptions.ArgumentException, java.lang.Throwable, java.lang.Exception java.lang.RuntimeException com.aspose.ms.System.Exception com.aspose.ms.System.SystemException com.aspose.ms.System.NotImplementedException com.aspose.pdf.exceptions.ArgumentException, java.lang.Exception, java.lang.RuntimeException com.aspose.ms.System.Exception com.aspose.ms.System.SystemException com.aspose.ms.System.NotImplementedException com.aspose.pdf.exceptions.ArgumentException, java.lang.RuntimeException, com.aspose.ms.System.Exception com.aspose.ms.System.SystemException com.aspose.ms.System.NotImplementedException com.aspose.pdf.exceptions.ArgumentException, com.aspose.ms.System.Exception, com.aspose.ms.System.SystemException com.aspose.ms.System.NotImplementedException com.aspose.pdf.exceptions.ArgumentException, com.aspose.ms.System.SystemException, com.aspose.ms.System.NotImplementedException com.aspose.pdf.exceptions.ArgumentException, com.aspose.ms.System.NotImplementedException, com.aspose.pdf.exceptions.ArgumentException

**All Implemented Interfaces:**
Serializable

```
public class ArgumentException extends com.aspose.ms.System.NotImplementedException
```

The exception that is thrown when one of the arguments provided to a method is not valid.

## Constructors

| Constructor | Description |
| --- | --- |
| [ArgumentException](#ArgumentException-com.aspose.ms.System.Exception-) | Initializes a new instance of the ArgumentException class with a specified error message. |
| [ArgumentException](#ArgumentException-java.lang.String-) | Initializes a new instance of the ArgumentException class with a specified error message. |
| [ArgumentException](#ArgumentException-java.lang.String-com.aspose.ms.System.Exception-) | Initializes a new instance of the ArgumentException class with a specified error message and a reference to the inner exception that is the cause of this exception. |

### ArgumentException {#ArgumentException-com.aspose.ms.System.Exception-}
Initializes a new instance of the ArgumentException class with a specified error message.

### ArgumentException {#ArgumentException-java.lang.String-}
Initializes a new instance of the ArgumentException class with a specified error message.

### ArgumentException {#ArgumentException-java.lang.String-com.aspose.ms.System.Exception-}
Initializes a new instance of the ArgumentException class with a specified error message and a reference to the inner exception that is the cause of this exception.
