Skip to content

Commit ba7a68a

Browse files
committed
Fixed javadoc
1 parent 0f2e3e8 commit ba7a68a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/com/scriptbasic/utility/functions/UtilityFunctions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ static public Long clng(final Object arg) throws BasicRuntimeException {
176176
@BasicFunction(classification = Utility.class)
177177
static public String chr(final Object charcode) throws BasicRuntimeException {
178178
if (charcode == null) {
179-
throw new BasicRuntimeException("undef cannot be converted character");
179+
throw new BasicRuntimeException("undef cannot be converted to character");
180180
}
181181
final Long code = BasicLongValue.asLong(RightValueUtility.createRightValue(charcode));
182182
try {
@@ -193,6 +193,8 @@ static public String chr(final Object charcode) throws BasicRuntimeException {
193193
* @param arg
194194
* string argument
195195
* @return character code corresponding to the first letter
196+
* @throws BasicRuntimeException
197+
* fail on empty input
196198
*/
197199
@BasicFunction(classification = Utility.class)
198200
static public Integer asc(final Object arg) throws BasicRuntimeException {

0 commit comments

Comments
 (0)