SHARE
TWEET

Untitled

a guest Sep 17th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fun main() {
  2.     try {
  3.         // função de processamento de notas
  4.     } catch (ex: ArithmeticException) { 
  5.         // tratando a exceção ArithmeticException
  6.     } catch (ex: NumberFormatException) { 
  7.         // tratando a exceção NumberFormatException
  8.     } catch (ex: Exception) { 
  9.     // tratando as exceções mais genéricas
  10.     }
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top