提交 6ad39b81 编写于 作者: J Joram Barrez
上级 661c14dc
......@@ -166,6 +166,12 @@
font-size: 17px;
}
.ui-draggable.stencil-item.stencil-item-dragged {
display: block;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Modeling Canvas
-------------------------------- */
......@@ -529,4 +535,4 @@ li.x-menu-list-item.x-menu-item-active a {
.step-types .fa {
margin-right: 6px;
}
\ No newline at end of file
}
......@@ -29,7 +29,7 @@ public class ContentStorageException extends RuntimeException {
}
public ContentStorageException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
super(message, cause);
}
public ContentStorageException(String message, Throwable cause) {
......
......@@ -152,9 +152,9 @@ public class FileSystemContentStorage implements ContentStorage {
public void deleteContentObject(String id) {
try {
File contentFile = getFileForId(id, true);
Files.delete(contentFile.toPath());
} catch(IOException ioe) {
throw new ContentStorageException("Error while deleting content", ioe);
contentFile.delete();
} catch(Exception e) {
throw new ContentStorageException("Error while deleting content", e);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册