api can throw RuntimeException with error comunication code