| Summary: | Expecting NullValueException for various EString functions | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed Verified Closing this defect. |
When using the following string functions, I got a java NullPointerException rather than an edt NullValueException. indexOf lastIndexOf endsWith startsWith replaceStr length clip clipLeading trim toUppercase toLowercase charCodeAt str string? = null; size int; try size = str.length(); syslib.writestdout("failed"); onException (nullEx NullValueException) sysLib.writeStdout("Success); onException (badEx AnyException) sysLib.writeStdout("failure); end