• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2017-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3  */
4 
5 package kotlinx.atomicfu.transformer
6 
7 import org.objectweb.asm.tree.AbstractInsnNode
8 
9 class AbortTransform(
10     message: String,
11     val i: AbstractInsnNode? = null
12 ) : Exception(message)
13 
abortnull14 fun abort(message: String, i: AbstractInsnNode? = null): Nothing = throw AbortTransform(message, i)
15