exception handling in Java

Java uses a try statement to separate the logic that might throw an exception from the logic to handle that exception.