Changeset 2a01ea8de17553654cf70fa6ac15fa65bc18db52
- Timestamp:
- 03/01/08 16:30:17
(9 months ago)
- Author:
- Christopher Jung <bktheg@web.de>
- git-committer:
- Christopher Jung <bktheg@web.de> 1204385417 +0100
- git-parent:
[4bf415a5a361b366e013fa9f992ccf8e473a14a4]
- git-author:
- Christopher Jung <bktheg@web.de> 1204385417 +0100
- Message:
Gesonderte Fehlermeldung fuer Lockingprobleme in der DB
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| re409332 |
r2a01ea8 |
|
| 36 | 36 | |
|---|
| 37 | 37 | import org.apache.commons.lang.StringUtils; |
|---|
| | 38 | import org.hibernate.exception.LockAcquisitionException; |
|---|
| 38 | 39 | |
|---|
| 39 | 40 | /** |
|---|
| … | … | |
| 481 | 482 | stacktrace += s.toString()+"\n"; |
|---|
| 482 | 483 | } |
|---|
| 483 | | |
|---|
| 484 | | addError("Es ist ein Fehler in der Action '"+action+"' aufgetreten:\n"+t.toString()+"\n\n"+stacktrace); |
|---|
| | 484 | |
|---|
| | 485 | if( t instanceof LockAcquisitionException ) { |
|---|
| | 486 | addError("Die gewünschte Aktion konnte nicht erfolgreich durchgeführt werden. Bitte versuchen sie es erneut."); |
|---|
| | 487 | } |
|---|
| | 488 | else { |
|---|
| | 489 | addError("Es ist ein Fehler in der Action '"+action+"' aufgetreten:\n"+t.toString()+"\n\n"+stacktrace); |
|---|
| | 490 | } |
|---|
| 485 | 491 | |
|---|
| 486 | 492 | Common.mailThrowable(e, "DSGenerator Invocation Target Exception", |
|---|