1 package org.simantics.db.layer0.scl;
3 import org.simantics.db.exception.DatabaseException;
4 import org.simantics.scl.compiler.errors.CompilationError;
6 public class SCLDatabaseException extends DatabaseException {
8 private static final long serialVersionUID = 7276869582177709334L;
10 final public String shortExplanation;
11 final public CompilationError[] compilationErrors;
13 public SCLDatabaseException(String message, String shortExplanation, CompilationError[] compilationErrors) {
15 this.shortExplanation = shortExplanation;
16 this.compilationErrors = compilationErrors;
20 public String getShortExplanation() {
21 return shortExplanation;