Crazione Stack
This commit is contained in:
14
exceptions/EmpyStackException.java
Normal file
14
exceptions/EmpyStackException.java
Normal 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");
|
||||
}
|
||||
}
|
||||
14
exceptions/FullStackException.java
Normal file
14
exceptions/FullStackException.java
Normal 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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user