xtendm3-sdk.0.15.0.source-code.FileUtilException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtendm3-sdk Show documentation
Show all versions of xtendm3-sdk Show documentation
XtendM3 SDK for developing XtendM3 Extensions locally
public class FileUtilException extends Exception {
private static final long serialVersionUID = 1L;
private final FileUtilError errorType;
public FileUtilException(FileUtilError errorType, String message) {
super(message);
this.errorType = errorType;
}
public FileUtilException(FileUtilError errorType, String message, Throwable t) {
super(message, t);
this.errorType = errorType;
}
public FileUtilError getErrorType() {
return errorType;
}
@Override
public String getMessage() {
return errorType + ": " + super.getMessage();
}
}