public final class UnreachableCodeException
extends java.lang.RuntimeException
The type of exceptions thrown upon reaching code that was expected to be unreachable.
As correctly written programs should never raise exceptions of this type, their use in code is intended to document the fact that a statement is expected to be unreachable (but that the compiler cannot prove is actually unreachable).
| Constructor | Description |
|---|---|
UnreachableCodeException() |
Construct a new exception without a specific cause.
|
UnreachableCodeException(java.lang.Throwable x) |
Construct a new exception with the given cause.
|
Copyright © 2017 <code@io7m.com> http://io7m.com