projects
/
mir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e1f215c
)
fix serious bug introduced with the media InputStream changes that caused a database...
author
mh
<mh>
Fri, 15 Nov 2002 22:06:49 +0000
(22:06 +0000)
committer
mh
<mh>
Fri, 15 Nov 2002 22:06:49 +0000
(22:06 +0000)
source/mircoders/entity/EntityImages.java
patch
|
blob
|
history
diff --git
a/source/mircoders/entity/EntityImages.java
b/source/mircoders/entity/EntityImages.java
index
b4f0440
..
4376030
100755
(executable)
--- a/
source/mircoders/entity/EntityImages.java
+++ b/
source/mircoders/entity/EntityImages.java
@@
-54,7
+54,7
@@
import mir.storage.*;
* Diese Klasse enthält die Daten eines MetaObjekts
*
* @author RK, mh
* Diese Klasse enthält die Daten eines MetaObjekts
*
* @author RK, mh
- * @version $Id: EntityImages.java,v 1.6.4.
2 2002/11/01 05:38:20
mh Exp $
+ * @version $Id: EntityImages.java,v 1.6.4.
3 2002/11/15 22:06:49
mh Exp $
*/
*/
@@
-105,7
+105,6
@@
public class EntityImages extends EntityUploadedMedia
} catch (Exception e) {
e.printStackTrace();
theLog.printError("EntityImages -- getImage failed"+e.toString());
} catch (Exception e) {
e.printStackTrace();
theLog.printError("EntityImages -- getImage failed"+e.toString());
- throwStorageObjectException(e, "EntityImages -- getImage failed: ");
try {
con.setAutoCommit(true);
} catch (Exception e2) {
try {
con.setAutoCommit(true);
} catch (Exception e2) {
@@
-115,6
+114,7
@@
public class EntityImages extends EntityUploadedMedia
+e2.toString());
}
theStorageObject.freeConnection(con,stmt);
+e2.toString());
}
theStorageObject.freeConnection(con,stmt);
+ throwStorageObjectException(e, "EntityImages -- getImage failed: ");
}
//}
return img_in;
}
//}
return img_in;
@@
-235,7
+235,6
@@
public class EntityImages extends EntityUploadedMedia
} catch (Exception e) {
e.printStackTrace();
theLog.printError("EntityImages -- getIcon failed"+e.toString());
} catch (Exception e) {
e.printStackTrace();
theLog.printError("EntityImages -- getIcon failed"+e.toString());
- throwStorageObjectException(e, "EntityImages -- getIcon failed:");
try {
con.setAutoCommit(true);
} catch (Exception e2) {
try {
con.setAutoCommit(true);
} catch (Exception e2) {
@@
-245,6
+244,7
@@
public class EntityImages extends EntityUploadedMedia
+e2.toString());
}
theStorageObject.freeConnection(con,stmt);
+e2.toString());
}
theStorageObject.freeConnection(con,stmt);
+ throwStorageObjectException(e, "EntityImages -- getIcon failed:");
}
return img_in;
}
return img_in;