Skip to content

Show error when your filter file isn't present#212

Open
Kaqemeex wants to merge 3 commits into
mainfrom
kq/missing-file-warning-2
Open

Show error when your filter file isn't present#212
Kaqemeex wants to merge 3 commits into
mainfrom
kq/missing-file-warning-2

Conversation

@Kaqemeex

Copy link
Copy Markdown
Collaborator

... on the machine that you tried to load it on.

... on the machine that you tried to load it on.
@@ -1,15 +1,11 @@
package com.lootfilters;

import com.lootfilters.lang.CompileException;

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed unused imports.

filterDescription = new JTextArea();
filterDescription.setEditable(false);
filterDescription.setLineWrap(true);
filterDescription.setWrapStyleWord(true);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much cleaner rendering when the text breaks on words rather than any char.

@Kaqemeex
Kaqemeex force-pushed the kq/missing-file-warning-2 branch from fb20989 to 42eaeb0 Compare July 19, 2026 19:12
@Kaqemeex
Kaqemeex force-pushed the kq/missing-file-warning-2 branch from 42eaeb0 to e58804a Compare July 19, 2026 19:17
try {
return doLoadFilter();
} catch (Exception e) {
} catch (IOException e) {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This then doesn't wrap the FilterNotFoundException; making finding it easier later (ie it's the direct cause of the completion exception rather than CompletionExeption(RuntimeException(FilterNotFoundException(...)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant