
**Inheritance:**
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.ms.System.ApplicationException, [com.aspose.tasks.ValidationException](../../com.aspose.tasks/validationexception)
```
public class ResourceValidationException extends ValidationException
```

Represents an exception which is thrown when errors are found in resource's properties.
## Methods

| Method | Description |
| --- | --- |
| [getResource()](#getResource--) | Gets the resource which caused the exception. |
### getResource() {#getResource--}
```
public final Resource getResource()
```


Gets the resource which caused the exception.

**Returns:**
[Resource](../../com.aspose.tasks/resource) - the resource which caused the exception.
