All Downloads are FREE. Search and download functionalities are using the official Maven repository.

parsley.debugger.internal.XException.scala Maven / Gradle / Ivy

/*
 * Copyright 2020 Parsley Contributors 
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
package parsley.debugger.internal

import scala.scalajs.js

// Cross platform wrapper around UnsupportedOperationException.
private [parsley] class XUnsupportedOperationException(msg: String) {
    def except: Throwable = js.JavaScriptException("UnsupportedOperationException: " + msg)
}

// Cross platform wrapper around IllegalStateException.
private [parsley] class XIllegalStateException(msg: String) {
    def except: Throwable = js.JavaScriptException("IllegalStateException: " + msg)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy