@@ -183,6 +183,8 @@ public abstract class StorageObject extends SliceJpaObject {
try (InputStream input = fo.getContent().getInputStream()) {
length = IOUtils.copyLarge(input, output);
}
+ } else {
+ throw new Exception(fo.getPublicURIString() + " not existed, object:" + this.toString() + ".");
manager.closeFileSystem(fo.getFileSystem());
@@ -1,6 +1,6 @@
package com.x.base.core.entity;
public enum StorageType {
- file, processPlatform, meeting, calendar, okr, cms, bbs, report, strategyDeploy;
+ file, processPlatform, mind, meeting, calendar, okr, cms, bbs, report, strategyDeploy;
public static final int length = JpaObject.length_32B;