UNPKG

jsts

Version:

A JavaScript library of spatial predicates and functions for processing geometry

16 lines (15 loc) 496 B
import RuntimeException from '../../../../java/lang/RuntimeException.js' export default class AssertionFailedException extends RuntimeException { constructor() { super() AssertionFailedException.constructor_.apply(this, arguments) } static constructor_() { if (arguments.length === 0) { RuntimeException.constructor_.call(this) } else if (arguments.length === 1) { const message = arguments[0] RuntimeException.constructor_.call(this, message) } } }