public void setErrorCategory(Integer errorCategory) {
        this.errorCategory = errorCategory;
    }
<p>
An integer value that specifies the category of a query failure error. The following list shows the category for
each integer value.
</p>
<p>
<b>1</b> - System
</p>
<p>
<b>2</b> - User
</p>
<p>
<b>3</b> - Other
</p>

@param errorCategory
       An integer value that specifies the category of a query failure error. The following list shows the
       category for each integer value.</p>
       <p>
       <b>1</b> - System
       </p>
       <p>
       <b>2</b> - User
       </p>
       <p>
       <b>3</b> - Other
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/AthenaError.java