Skip to content

Commit

Permalink
packake exception ajouté
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael committed Mar 8, 2014
1 parent 07533ef commit c2209e2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/exception/NodeDoesNotExistException.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package exception;

public class NodeDoesNotExistException extends Exception {
public String message;
/**
* generated ID
*/
private static final long serialVersionUID = 6905916248289513991L;

public NodeDoesNotExistException(String message) {
this.message = message;
}
}
9 changes: 9 additions & 0 deletions src/exception/NodeDoesNotHavePredecessor.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package exception;

public class NodeDoesNotHavePredecessor extends Exception {
public String message;

public NodeDoesNotHavePredecessor(String message) {
this.message = message;
}
}

0 comments on commit c2209e2

Please sign in to comment.