Package convex.core.util
Class Errors
java.lang.Object
convex.core.util.Errors
Utility class for generating appropriate error messages
"I keep a list of all unresolved bugs I've seen on the forum. In some cases,
I'm still thinking about the best design for the fix. This isn't the kind of
software where we can leave so many unresolved bugs that we need a tracker for them."
– Satoshi Nakamoto
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbadIndex(long i) static StringbadRange(long start, long end) static StringillegalPosition(long position) static Stringstatic StringinsufficientFunds(Address source, long amount) static StringnegativeLength(long length) static ErrorValuestatic StringsizeOutOfRange(long i) static StringunknownKey(Keyword key, ARecord record) static StringwrongLength(long expected, long count)
-
Field Details
-
INVALID_NUMERIC
-
-
Constructor Details
-
Errors
public Errors()
-
-
Method Details
-
immutable
-
sizeOutOfRange
-
illegalPosition
-
insufficientFunds
-
unknownKey
-
badIndex
-
badRange
-
negativeLength
-
wrongLength
-
nobody
-