안드로이드 스튜디오 계산기 예외처리 - andeuloideu seutyudio gyesangi ye-oecheoli

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

    xmlns:app="http://schemas.android.com/apk/res-auto"

    xmlns:tools="http://schemas.android.com/tools"

    android:layout_width="match_parent"

    android:layout_height="match_parent"

    android:layout_margin="5dp"

    android:orientation="vertical"

    tools:context=".MainActivity">

<LinearLayout

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:orientation="vertical">

<EditText

            android:id="@+id/edit_text1"

            android:layout_width="wrap_content"

            android:layout_height="wrap_content"

            android:hint="숫자1"

            android:textSize="20dp" />

<EditText

            android:id="@+id/edit_text2"

            android:layout_width="wrap_content"

            android:layout_height="wrap_content"

            android:hint="숫자2"

            android:textSize="20dp" />

</LinearLayout>

<LinearLayout

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:orientation="vertical">

<Button

            android:id="@+id/add_error_button"

            android:layout_width="match_parent"

            android:layout_height="wrap_content"

            android:text="더하기(예외처리x)"

            android:textSize="25dp" />

<Button

            android:id="@+id/add_nomal_button"

            android:layout_width="match_parent"

            android:layout_height="wrap_content"

            android:text="더하기(예외처리o)"

            android:textSize="25dp" />

</LinearLayout>

<TextView

        android:id="@+id/result"

        android:layout_width="wrap_content"

        android:layout_height="wrap_content"

        android:text="결과 값 : "

        android:textSize="30dp" />

</LinearLayout>