Rename IOException to GIOException #371
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
java
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
java-gi/java-gi!371
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "gioexception"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Starting with Java-GI 1.0.0-RC1, there are exception classes for GError types. The name is based on the error domain, so
GLib.RegexErrorwill throw aRegexException. However, forGio.IOErrorthis results in a classorg.gnome.gio.IOException. This will cause a lot of confusion in code that handlesjava.io.IOExceptionin the same file. Therefore, the exception forGio.IOErrorwill now beorg.gnome.gio.GIOException.The old class
org.gnome.gio.IOExceptionwill be removed. It was only added in RC1 so I don't expect it to be used a lot in existing code. And the fix would be simple.