Advertisement
sergAccount

Untitled

Jul 17th, 2021
872
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.49 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package com.mycompany.ex21;
  7.  
  8. public class MyAppException extends Exception {
  9.    
  10.     // конструктор класса
  11.     public MyAppException(){
  12.        
  13.     }    
  14.     // конструктор класса с парам
  15.     public MyAppException(String m){
  16.         super(m);
  17.     }
  18.     //
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement