s/BenchmarkExecutionFailure.st
changeset 302 30fc156ff773
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/s/BenchmarkExecutionFailure.st	Thu Oct 22 15:21:09 2015 +0100
@@ -0,0 +1,39 @@
+"{ Package: 'jv:calipel/s' }"
+
+"{ NameSpace: Smalltalk }"
+
+Error subclass:#BenchmarkExecutionFailure
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'CalipeL-S-Core-Runner'
+!
+
+!BenchmarkExecutionFailure class methodsFor:'queries'!
+
+mayProceed
+    ^ true
+
+    "Created: / 22-10-2015 / 15:04:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!BenchmarkExecutionFailure methodsFor:'Compatibility-Squeak'!
+
+signal: aString
+
+    Smalltalk isSmalltalkX ifTrue:[ 
+        ^ self raiseRequestErrorString:aString in: thisContext sender.
+    ].
+    ^ super signal: aString
+
+    "Created: / 22-10-2015 / 15:14:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!BenchmarkExecutionFailure methodsFor:'testing'!
+
+isResumable
+    ^ true
+
+    "Created: / 22-10-2015 / 15:04:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+