Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case playRecord:
- if(arguments.length < 1) {
- throw new IllegalArgumentException("Insufficient number of arguments, expected 1");
- }
- if(!(arguments[0] instanceof Integer)) {
- throw new IllegalArgumentException("Invalid argument 0, expected Integer");
- }
- index = (Integer)arguments[0];
- playRecord(index);
- return new Object[] {};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement