rswiki-book/Class-Check.mediawiki

62 lines
1.2 KiB
Plaintext
Raw Normal View History

2012-09-03 15:42:38 -04:00
The class check originated with the new Runescape engine update which took place around the 4xx revisions. It gives the Jagex servers the ability to check the modifiers, update, or fetch the value for a field. It also gives functionality to invoke a method with parameters and get it's return value, or check it's modifiers. Each of these functionalities are described with a request type. A class check request is built up with many of these request types.
2012-09-03 15:50:40 -04:00
== Response Return Codes ==
2012-09-03 15:50:32 -04:00
{| border=2px
! Opcode
! Description
|-
! 0
! Successfully executed the request.
|-
! -1
! ClassNotFoundException - On receive.
|-
! -2
! SecurityException - On receive.
|-
! -3
! NullPointerException - On receive.
|-
! -4
! Exception - On receive.
|-
! -5
! Throwable - On receive.
2012-09-03 15:54:51 -04:00
|-
! -10
! ClassNotFoundException - On send.
|-
! -11
! InvalidClassException - On send.
|-
! -12
! StreamCorruptedException - On send.
|-
! -13
! OptionalDataException - On send.
|-
! -14
! IllegalAccessException - On send.
|-
! -15
! IllegalArgumentException - On send.
|-
! -16
! InvocationTargetException - On send.
|-
! -17
! SecurityException - On send.
|-
! -18
! IOException - On send.
|-
! -19
2012-09-03 15:55:17 -04:00
! NullPointerException - On send.
2012-09-03 15:54:51 -04:00
|-
! -20
2012-09-03 15:55:17 -04:00
! Exception - On send.
2012-09-03 15:54:51 -04:00
|-
! -21
2012-09-03 15:55:17 -04:00
! Throwable - On send.
2012-09-03 15:50:32 -04:00
|}