Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package org.unicitylabs.sdk.api.bft.trustbase;

/** An entry does not extend its predecessor (network, epoch, start round, predecessor id). */
public class TrustBaseChainException extends TrustBaseException {

/**
* Create the exception.
*
* @param message what failed
*/
public TrustBaseChainException(String message) {
super(message);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package org.unicitylabs.sdk.api.bft.trustbase;

/** The bytes are not a well-formed deterministic encoding (wrong tag, version or arity, bad bounds, trailing bytes, a second byte form). */
public class TrustBaseEncodingException extends TrustBaseException {

/**
* Create the exception.
*
* @param message what failed
*/
public TrustBaseEncodingException(String message) {
super(message);
}
}
Loading
Loading