Make a mistake in application code in a language like, say Java, and you'll end up with an exception.