java: Throw IllegalArgumentException on invalid base58 value as UID
csharp: Throw ArgumentOutOfRangeException on invalid base58 value as UID