Community
Participate
Working Groups
// Determine the status to be displayed (and possibly logged)
IStatus status = null;
boolean log = false;
if (exception instanceof CoreException) {
if (exception instanceof TeamException) {
status = ((CoreException)exception).getStatus();
status = ((TeamException) exception).getStatus();
log = (((flags & LOG_TEAM_EXCEPTIONS) > 0) || ((flags & LOG_CORE_EXCEPTIONS) > 0));
} else if (exception instanceof CoreException) {
status = ((CoreException) exception).getStatus();
log = ((flags & LOG_CORE_EXCEPTIONS) > 0);
} else if (exception instanceof TeamException) {
status = ((TeamException)exception).getStatus();
log = ((flags & LOG_TEAM_EXCEPTIONS) > 0);
} else if (exception instanceof InterruptedException) {
return new CVSStatus(IStatus.OK, CVSUIMessages.ok);
} else if (exception != null) {