kohlschutter / junixsocket

Unix Domain Sockets in Java 7 and newer (AF_UNIX), AF_TIPC, AF_VSOCK, and more
Apache License 2.0
433 stars 114 forks source link

Is there a list of exception that can happen when using this library? #87

Closed criticalx7 closed 3 years ago

criticalx7 commented 3 years ago

Can author point me to the list of all runtime exceptions that can happen when using this (ex. IOException). In other word, what error must i be aware of when sending message to junixsocket.

kohlschuetter commented 3 years ago

Hello there!

I'm not sure I fully understand the extent of your question, but all checked exceptions are marked as such. Occasionally, unchecked exceptions such as IllegalStateException and IllegalArgumentException can be thrown when given illegal input or state.

What are you trying to solve?

criticalx7 commented 3 years ago

Nothing serious. I'm trying to document and replicate all possible failures and errors that happen from using this library. This is one of the part for developing resilience of our app.

kohlschuetter commented 3 years ago

Got it. I hope my above answer helps!