Changeset 5388 for CMDIValidator
- Timestamp:
- 06/26/14 09:18:54 (10 years ago)
- Location:
- CMDIValidator/trunk/cmdi-validator-core/src/main/java/eu/clarin/cmdi/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMDIValidator/trunk/cmdi-validator-core/src/main/java/eu/clarin/cmdi/validator/CMDIValidator.java
r5384 r5388 264 264 265 265 return done; 266 } catch ( CMDIValidatorExceptione) {266 } catch (Throwable e) { 267 267 synchronized (this) { 268 268 state = State.DONE; … … 271 271 } 272 272 } // synchronized (this) 273 throw e; 273 if (e instanceof CMDIValidatorException) { 274 throw (CMDIValidatorException) e; 275 } else { 276 throw new CMDIValidatorException( 277 "an unexpected error occured", e); 278 } 274 279 } finally { 275 280 if (threadsProcessing.decrementAndGet() <= 0) { -
CMDIValidator/trunk/cmdi-validator-core/src/main/java/eu/clarin/cmdi/validator/ThreadedCMDIValidatorProcessor.java
r5384 r5388 163 163 /* IGNORE */ 164 164 } catch (Throwable e) { 165 logger.error("unexpected error in worker thread: {}", 166 e.getMessage(), e); 165 logger.error("unexpected exception in worker thread", e); 167 166 } 168 167 }
Note: See TracChangeset
for help on using the changeset viewer.