Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.
Anonymous
Unregistered
|
|
see the public static void checkPermission() Change the line: if (e.getClassName().equals("SecurityBlanket") && e.getMethodName().equals("checkPermission")) break; }
in
if (e.getClassName().equals("SecurityBlanket") || e.getMethodName().equals("checkPermission")) break; }
So And has to be Or.
|
Anonymous
Unregistered
|
|
Why is that an error? It should be "and" because we want to find the point in the stack trace where the classname is SecurityBlanket AND the method name is checkPermission.
So, it is NOT an error.
|
|
0 registered and 1 anonymous users are browsing this forum.
Moderator:
Print Topic
|
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is disabled
UBBCode is enabled
|
Rating:
Topic views: 9106
|
|
|
|
|
|
Powered by UBB.threads™ 6.5.5