/** * Constructs a WrongTransaction object with the given detail message. * * @param reason The detail message explaining what caused this exception to be thrown. */ public WrongTransaction(String reason) { super(WrongTransactionHelper.id() + " " + reason); }
/** Constructs a WrongTransaction object with an empty detail message. */ public WrongTransaction() { super(WrongTransactionHelper.id()); }