Update AEApi.java

updated Javadoc to match the catch which returns null