If there are reasonable defaults for those, you co...
# announcements
p
If there are reasonable defaults for those, you could do the same thing. Otherwise I think you're looking at just brute-forcing it:
Copy code
class ParseException : Exception {

    val currentToken: Token?

    constructor(currentToken: Token?) : super() {
      this.currentToken = currentToken
    }

    constructor(currentToken: Token?, message: String?) : super(message) {
      this.currentToken = currentToken
    }

    constructor(currentToken: Token?, message: String?, cause: Throwable?) : super(message, cause) {
      this.currentToken = currentToken
    }

    constructor(currentToken: Token?, cause: Throwable?) : super(cause) {
      this.currentToken = currentToken
    }

  }