Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Wiest
unified-ticketing
Commits
6e7c1318
Verified
Commit
6e7c1318
authored
Nov 27, 2020
by
Lukas Wiest
🚂
Browse files
refactor(docs): api: write 'Exceptions'
parent
24757abe
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/api/exceptions.md
View file @
6e7c1318
# 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`
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment