Advertisement
DanFloyd

exc

Mar 29th, 2014
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. class EmptyException extends RuntimeException{
  2.     public EmptyException(String s){
  3.     super(s);
  4.     }
  5. }
  6.  
  7. class NullPointerException extends  RuntimeException{
  8.     public NullPointerException(String s){
  9.     super(s);
  10.     }
  11.  }
  12.  
  13. class NotFoundException extends  RuntimeException{
  14.     public NotFoundException(String s){
  15.     super(s);
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement