{"action":"created","issue":{"url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/67","labels_url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/67/comments","events_url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/67/events","html_url":"https://github.com/TheHolyWaffle/TeamSpeak-3-Java-API/issues/67","id":108523938,"number":67,"title":"Throw Exceptions","user":{"login":"Scrumplex","id":11587657,"avatar_url":"https://avatars.githubusercontent.com/u/11587657?v=3","gravatar_id":"","url":"https://api.github.com/users/Scrumplex","html_url":"https://github.com/Scrumplex","followers_url":"https://api.github.com/users/Scrumplex/followers","following_url":"https://api.github.com/users/Scrumplex/following{/other_user}","gists_url":"https://api.github.com/users/Scrumplex/gists{/gist_id}","starred_url":"https://api.github.com/users/Scrumplex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scrumplex/subscriptions","organizations_url":"https://api.github.com/users/Scrumplex/orgs","repos_url":"https://api.github.com/users/Scrumplex/repos","events_url":"https://api.github.com/users/Scrumplex/events{/privacy}","received_events_url":"https://api.github.com/users/Scrumplex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-27T09:12:15Z","updated_at":"2015-09-27T15:10:21Z","closed_at":null,"body":"Hello!\r\nCan you please throw all exceptions for error processing? I already made a custom jar but I don't like doing something like that. So. Are you able to throw Exceptions like TS3ConnectionFailedException?"},"comment":{"url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/comments/143566833","html_url":"https://github.com/TheHolyWaffle/TeamSpeak-3-Java-API/issues/67#issuecomment-143566833","issue_url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/67","id":143566833,"user":{"login":"Firedroide","id":1472572,"avatar_url":"https://avatars.githubusercontent.com/u/1472572?v=3","gravatar_id":"","url":"https://api.github.com/users/Firedroide","html_url":"https://github.com/Firedroide","followers_url":"https://api.github.com/users/Firedroide/followers","following_url":"https://api.github.com/users/Firedroide/following{/other_user}","gists_url":"https://api.github.com/users/Firedroide/gists{/gist_id}","starred_url":"https://api.github.com/users/Firedroide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Firedroide/subscriptions","organizations_url":"https://api.github.com/users/Firedroide/orgs","repos_url":"https://api.github.com/users/Firedroide/repos","events_url":"https://api.github.com/users/Firedroide/events{/privacy}","received_events_url":"https://api.github.com/users/Firedroide/received_events","type":"User","site_admin":false},"created_at":"2015-09-27T15:10:21Z","updated_at":"2015-09-27T15:10:21Z","body":"Heyo!\r\n\r\n* A `TS3ConnectionFailedException` is thrown when you call `TS3Query.connect` and a connection could not be established.\r\n* In the synchronous API, no other exceptions are thrown *on purpose*. The intent is to keep your program running even if, for example, a client logs off right before you send them a message.\r\n* There is, however, an asynchronous version of the API, which includes exceptions and failure handling. Check out `TS3ApiAsync` and `CommandFuture`.\r\n* In the future, the asynchronous API will also include a method to register a default failure listener. \r\n* Reconnecting has also not yet been implemented. If you'd like to give that a try, go ahead. We're always looking forward to pull requests :smile:"}}