Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Test {
- static Exception createException(){
- return new Exception();
- }
- public static void main(String[] xx) throws Exception{
- throw createException();
- }
- }
- Exception in thread "main" java.lang.Exception
- at Test.createException(Test.java:12)
- at Test.main(Test.java:17)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement