Update Stacker.java

Add try-catch to handle errors