Java-ip nuannersorternerneq ilisarnissamut nammineerluarnera takornariaqarneq: 

try { 
    // nunaneersorneq 
} catch (Exception e) { 
    // saarlerneq 
}
Qallunaat ilinniat: Java-programmi ExceptionExample-mi piffissamiinnermi exception handling-iufteni:
```java
public class ExceptionExample {

    public static void main(String[] args) {
        try {
            // Code that might throw an exception
            int num = 10;
            int div = 0;
            int ans = num / div;
            System.out.println("The answer is " + ans);
        } catch (ArithmeticException ae) {
            // Code to handle ArithmeticException
            System.out.println("Arithmetic Exception: Cannot divide by zero");
        } catch (Exception e) {
            // Code to handle any other Exception
            System.out.println("An error occurred: " + e.getMessage());
        } finally {
            // Code that will always execute, regardless of whether an exception was thrown
            System.out.println("Exception handling complete");
        }
    }
}
```