parsley.debug.internal.XException.scala Maven / Gradle / Ivy
/*
* Copyright 2020 Parsley Contributors
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package parsley.debug.internal
// Cross platform wrapper around UnsupportedOperationException.
private [parsley] class XUnsupportedOperationException(msg: String) {
def except: Throwable = new UnsupportedOperationException(msg)
}
// Cross platform wrapper around IllegalStateException.
private [parsley] class XIllegalStateException(msg: String) {
def except: Throwable = new IllegalStateException(msg)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy