Пример #1
0
 private void BtnRecordException_Click(object sender, EventArgs e)
 {
     try
     {
         ArrayIndexOutOfBoundsException arrayIndexOutOfBoundsException = new ArrayIndexOutOfBoundsException();
         throw arrayIndexOutOfBoundsException;
     }
     catch (Java.Lang.Exception ex)
     {
         AGConnectCrash.Instance.RecordException(ex);
     }
 }
Пример #2
0
 private void BtnRecordException_Click(object sender, EventArgs e)
 {
     try
     {
         ArrayIndexOutOfBoundsException arrayIndexOutOfBoundsException = new ArrayIndexOutOfBoundsException();
         throw arrayIndexOutOfBoundsException;
     }
     catch (Java.Lang.Exception ex)
     {
         AGConnectCrash.Instance.RecordException(ex);
         Toast.MakeText(this, "Exception has been recorded.", ToastLength.Short).Show();
     }
 }