@@ -19,6 +19,7 @@ limitations under the License.
19
19
20
20
1 . [ Introduction] ( #intro )
21
21
2 . [ Errors] ( #errorobj )
22
+ - 2.1 [ Error Properties] ( #properror )
22
23
3 . [ Oracledb Class] ( #oracledbclass )
23
24
- 3.1 [ Oracledb Constants] ( #oracledbconstants )
24
25
- ARRAY
@@ -159,19 +160,27 @@ If an invalid value is set for a property, then the *Error* object is
159
160
thrown by the driver. The same is true for a read operation on a
160
161
write-only property.
161
162
162
- The * Error* object contains a message string in the format:
163
+ ### <a name =" properror " ></a > 2.1 Error Properties
164
+
165
+ The * Error* object contains a message property.
163
166
164
167
```
165
- <origin>-<errno>: < message text>
168
+ String message
166
169
```
167
170
171
+ The text of the error message.
172
+
173
+ The error may be a standard Oracle message with a prefix like ORA or
174
+ PLS. Alternatively it may be a driver specific error prefixed with
175
+ NJS or DPI.
176
+
168
177
A single line error message may look like this:
169
178
170
179
```
171
180
ORA-01017: invalid username/password; logon denied
172
181
```
173
182
174
- An error message may be multi-line, like this:
183
+ A multi-line error message may look like this:
175
184
176
185
```
177
186
ORA-06550: line 1, column 7:
@@ -180,15 +189,6 @@ ORA-06550: line 1, column 7:
180
189
PL/SQL: Statement ignored
181
190
```
182
191
183
- ### 2.1 Error Properties
184
-
185
- ```
186
- String message
187
- ```
188
-
189
- The text of the error message. The error may be a standard Oracle
190
- message with a prefix like ORA or PLS. Alternatively it may be a
191
- driver specific error prefixed with NJS or DPI.
192
192
193
193
## <a name =" oracledbclass " ></a > 3. Oracledb Class
194
194
0 commit comments