Crazione Stack

This commit is contained in:
2014-03-05 01:13:42 +01:00
commit 84aa1374c7
8 changed files with 318 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package exceptions;
/**
* Created with MONSTER.
* User: xgiovio
* Date: 05/03/14
* Time: 0.09
*/
public class EmpyStackException extends RuntimeException {
public EmpyStackException (){
super("Stack Empty");
}
}

View File

@@ -0,0 +1,14 @@
package exceptions;
/**
* Created with MONSTER.
* User: xgiovio
* Date: 05/03/14
* Time: 0.09
*/
public class FullStackException extends RuntimeException {
public FullStackException(){
super("Stack Full");
}
}