Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public class Test {
  2.  
  3. static Exception createException(){
  4. return new Exception();
  5. }
  6.  
  7. public static void main(String[] xx) throws Exception{
  8.  
  9. throw createException();
  10. }
  11. }
  12.  
  13. Exception in thread "main" java.lang.Exception
  14. at Test.createException(Test.java:12)
  15. at Test.main(Test.java:17)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement