From b792f48b554161ef85c76f8722f8523aa030f267 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 21 Mar 2024 18:36:37 +0100 Subject: [PATCH] classlib: add java.util.concurrent.CancellationException --- .../concurrent/TCancellationException.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 classlib/src/main/java/org/teavm/classlib/java/util/concurrent/TCancellationException.java diff --git a/classlib/src/main/java/org/teavm/classlib/java/util/concurrent/TCancellationException.java b/classlib/src/main/java/org/teavm/classlib/java/util/concurrent/TCancellationException.java new file mode 100644 index 000000000..e0766c47c --- /dev/null +++ b/classlib/src/main/java/org/teavm/classlib/java/util/concurrent/TCancellationException.java @@ -0,0 +1,25 @@ +/* + * Copyright 2024 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.teavm.classlib.java.util.concurrent; + +public class TCancellationException extends IllegalStateException { + public TCancellationException() { + } + + public TCancellationException(String s) { + super(s); + } +}