From: Antti Villberg Date: Sun, 5 Apr 2020 13:48:52 +0000 (+0300) Subject: Special RuntimeException to emulate checked exceptions in SCL functions X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F95%2F4095%2F1;p=simantics%2Fplatform.git Special RuntimeException to emulate checked exceptions in SCL functions gitlab #512 Change-Id: Ifd787d23aa263fcb6ca8f59c0f957a891cdd2e15 --- diff --git a/bundles/org.simantics.scl.runtime/src/org/simantics/scl/runtime/exceptions/CheckedFunctionException.java b/bundles/org.simantics.scl.runtime/src/org/simantics/scl/runtime/exceptions/CheckedFunctionException.java new file mode 100644 index 000000000..2601728f2 --- /dev/null +++ b/bundles/org.simantics.scl.runtime/src/org/simantics/scl/runtime/exceptions/CheckedFunctionException.java @@ -0,0 +1,11 @@ +package org.simantics.scl.runtime.exceptions; + +public class CheckedFunctionException extends RuntimeException { + + private static final long serialVersionUID = 6314226787099140449L; + + public CheckedFunctionException(Exception cause) { + super(cause); + } + +}