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