Advertisement
Guest User

Untitled

a guest
Aug 27th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.17 KB | None | 0 0
  1. public class FooClass {
  2.   public FooClass(String someString) throws Exception {
  3.     if (!"Magic String!".equals(someString)) {
  4.       throw new Exception();
  5.     }
  6.   }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement