Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package domain;
- public class UnknownOrderException extends Exception {
- private String orderRef;
- public UnknownOrderException(String orderRef) {
- super("Unknown order: "+orderRef);
- this.orderRef = orderRef;
- }
- public String getOrderRef() {
- return orderRef;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment