MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / fail

Method fail

src/main/java/com/amazon/ion/Timestamp.java:918–923  ·  view source on GitHub ↗
(CharSequence input, String reason)

Source from the content-addressed store, hash-verified

916
917
918 private static IllegalArgumentException fail(CharSequence input, String reason)
919 {
920 input = IonTextUtils.printString(input);
921 return new IllegalArgumentException("invalid timestamp: " + reason
922 + ": " + input);
923 }
924
925 private static IllegalArgumentException fail(CharSequence input)
926 {

Callers 15

valueOfMethod · 0.95
read_digitsMethod · 0.95
testTruncatedStringsMethod · 0.80
testBackslashEofMethod · 0.80
badValueMethod · 0.80
checkTimestampMethod · 0.80
checkNullTimestampMethod · 0.80
testBadSetLocalOffsetMethod · 0.80

Calls 1

printStringMethod · 0.95

Tested by 15

testTruncatedStringsMethod · 0.64
testBackslashEofMethod · 0.64
badValueMethod · 0.64
checkTimestampMethod · 0.64
checkNullTimestampMethod · 0.64
testBadSetLocalOffsetMethod · 0.64