Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 /** Constructs a WrongTransaction object with an empty detail message. */
 public WrongTransaction() {
   super(WrongTransactionHelper.id());
 }