|
NextDB.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--net.nextdb.Error
All of the user defined callbacks are passed a last parameter which is
either an instance of this Error class with a details message about the error.
If there is no error, then the last param is undefined
error code table:
code Message Additional Fields Type Context 110 incorrect security CAPTCHA word NONE SecurityException Insert 120 The row could not be inserted without violating data integrity
or constraints. <Context-specific message>
causedBy IntegrityConstraintViolationException Insert 130 <Context-specific message> causedBy
DataFormatException
Insert, Update, Query210 0 rows deleted NONE
DeleteDelete 220 Row is not deletable. NONE
SecurityException
Delete310
Query named '<query-name>' uses ORDER BY but query
has been executed without setting mandatory startAfterValue.NONE MissingQueryParameterException Query 320
missing parameter '<paramName>'causedBy MissingQueryParameterException Query 410 Could not relate rows without violating one-to-one cardinality
on relationship '<relationship-name>'.causedBy IntegrityConstraintViolationException Relate Rows 510 Row is not updatable. NONE SecurityException Update 530 Update failed. NONE ConcurrentModificationException Update
| Field Summary | |
Object |
causedBy
An additional field, named "causedBy" will be populated when the error applies to a specific column, parameter, or relationship. |
Object |
code
a numeric error code representing a classification of error type. |
Object |
exceptionClass
|
Object |
message
a context-specific error message string |
| Constructor Summary | |
net.nextdb.Error()
|
|
| Method Summary | |
Object
|
getMessage()
|
Object
|
toString()
print whole error -- code : message : causedBy |
| Field Detail |
Object causedBy
Object code
Object exceptionClass
Object message
| Constructor Detail |
net.nextdb.Error()
| Method Detail |
Object getMessage()
Object toString()
|
NextDB.net | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||