Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@CheolhoJeon
Created May 8, 2021 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CheolhoJeon/53882b170a104f6229bbc2396d7e689e to your computer and use it in GitHub Desktop.
Save CheolhoJeon/53882b170a104f6229bbc2396d7e689e to your computer and use it in GitHub Desktop.
package chap4.Recursion
import java.lang.IllegalStateException
fun illegalState() {
throw IllegalStateException()
}
fun fail() = illegalState()
fun main() {
fail()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment