From 01c68476799ebd30fc93d0d0a2d82d7a73442d13 Mon Sep 17 00:00:00 2001 From: Adam Welc <adam.welc@oracle.com> Date: Sun, 28 Aug 2016 12:43:19 -0700 Subject: [PATCH] Added more error messages. --- .../src/com/oracle/truffle/r/runtime/RError.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/com.oracle.truffle.r.runtime/src/com/oracle/truffle/r/runtime/RError.java b/com.oracle.truffle.r.runtime/src/com/oracle/truffle/r/runtime/RError.java index d74e744ac7..56dc855e06 100644 --- a/com.oracle.truffle.r.runtime/src/com/oracle/truffle/r/runtime/RError.java +++ b/com.oracle.truffle.r.runtime/src/com/oracle/truffle/r/runtime/RError.java @@ -721,7 +721,11 @@ public final class RError extends RuntimeException { ATTEMPT_TO_REPLICATE("attempt to replicate an object of type '%s'"), ATTEMPT_TO_REPLICATE_NO_VECTOR("attempt to replicate non-vector"), INCORRECT_ARG_TYPE("incorrect type for %s argument"), - INVALID_ARG_OF_LENGTH("invalid %s argument of length %d"); + INVALID_ARG_OF_LENGTH("invalid %s argument of length %d"), + INVALID_FILENAME_PATTERN("invalid filename pattern"), + INVALID_FILE_EXT("invalid file extension"), + NO("no '%s'"), + APPLIES_TO_VECTORS("%s applies only to vectors"); public final String message; final boolean hasArgs; -- GitLab