Skip to content

Commit

Permalink
Stub in some control exceptions.
Browse files Browse the repository at this point in the history
We'll just use the JVM exceptions for these at the moment.
  • Loading branch information
jnthn committed Jan 9, 2013
1 parent f2388e1 commit a25dd96
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/org/perl6/nqp/runtime/BaseControlException.java
@@ -0,0 +1,5 @@
package org.perl6.nqp.runtime;

public abstract class BaseControlException extends RuntimeException {
private static final long serialVersionUID = 4076125986123163134L;
}
5 changes: 5 additions & 0 deletions src/org/perl6/nqp/runtime/LastControlException.java
@@ -0,0 +1,5 @@
package org.perl6.nqp.runtime;

public class LastControlException extends BaseControlException {
private static final long serialVersionUID = 4248931486184135938L;
}
5 changes: 5 additions & 0 deletions src/org/perl6/nqp/runtime/NextControlException.java
@@ -0,0 +1,5 @@
package org.perl6.nqp.runtime;

public class NextControlException extends BaseControlException {
private static final long serialVersionUID = 2785267898753141738L;
}
5 changes: 5 additions & 0 deletions src/org/perl6/nqp/runtime/RedoControlException.java
@@ -0,0 +1,5 @@
package org.perl6.nqp.runtime;

public class RedoControlException extends BaseControlException {
private static final long serialVersionUID = 8349113082954301129L;
}

0 comments on commit a25dd96

Please sign in to comment.