1 package org.lsst.ccs.bus;
2
3 /**
4 * @author bamade
5 */
6 // Date: 12/02/2014
7
8 public class CommandRejectedException extends Exception {
9 NegativeAck negativeAck;
10
11 public CommandRejectedException(NegativeAck negativeAck) {
12 this.negativeAck = negativeAck;
13 }
14
15 public String toString() {
16 return super.toString() + " " + negativeAck;
17 }
18 }