Verified Commit 6e7c1318 authored by Lukas Wiest's avatar Lukas Wiest 🚂
Browse files

refactor(docs): api: write 'Exceptions'

parent 24757abe
# Exceptions
!!! todo
- list exceptions available
- explain inheritance structure
The library defines its own set of exceptions.
Throughout the whole library, these are used.
They are located in the package `de.hftstuttgart.unifiedticketing.exceptions`.
Base for all others is `UnifiedticketingException`,
which extends `RuntimeException`.
Every other custom exception extends this exception.
This provides you with the ability,
to catch a specific or all library related problems.
Both without catching exceptions of your own code,
that happen to be in the same try block.
## Possible Exceptions
- `AssertionException`
- `DeserializationException`
- `HttpRequestException`
- `HttpResponseException`
- `SerializationException`
- `UnsupportedFunctionException`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment