Skip to content

Exceptions

Mazen Kotb edited this page Jul 6, 2016 · 1 revision

Exceptions in ConfigAPI are simple, use this as a reference on how to identify and fix your issues:

ClassStructureException

This exception is thrown in two cases, one where the adapter registered does not match the outClass you specified, and another where there isn't a no-arg constructor. In the first case, you will have to find out what the output is for the adapter, and modify your code to expect that output. In the second case, just add a no-args constructor.

InternalProcessingException

This is thrown in a case where there is an FS error, and you must fix it accordingly in the system. If you're sure it must be an issue with ConfigAPI's code, please create an issue and send a link to the stacktrace. Another instance where it may be thrown is where it cannot create an instance of a collection class, in which case please issue an issue accordingly.

Clone this wiki locally