UnreachableCodeException is thrown only if unreachable code is actually reached.
UnreachableCodeException