rswiki-book/Class-Check.mediawiki

103 lines
2.7 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 16:05:49 -04:00
== Return Codes ==
All the return codes are in descending priority by numerical order.
2012-09-03 15:50:32 -04:00
{| border=2px
! Opcode
2012-09-03 16:05:49 -04:00
! Name
! On Receive/Respond
2012-09-03 15:50:32 -04:00
! Description
|-
! 0
2012-09-03 16:05:49 -04:00
! Successful
! Respond
2012-09-03 15:50:32 -04:00
! Successfully executed the request.
|-
! -1
2012-09-03 16:05:49 -04:00
! ClassNotFoundException
! Receive
! A ClassNotFoundException was thrown while receiving a request from the server.
2012-09-03 15:50:32 -04:00
|-
! -2
2012-09-03 16:05:49 -04:00
! SecurityException
! Receive
! A SecurityException was thrown while receiving a request from the server.
2012-09-03 15:50:32 -04:00
|-
! -3
2012-09-03 16:05:49 -04:00
! Receive
! NullPointerException
! A NullPointerException was thrown while receiving a request from the server.
2012-09-03 15:50:32 -04:00
|-
! -4
2012-09-03 16:05:49 -04:00
! Receive
! Exception
! An Exception was thrown while receiving a request from the server.
2012-09-03 15:50:32 -04:00
|-
! -5
2012-09-03 16:05:49 -04:00
! Receive
! Throwable
! An error or exception was thrown while receiving a request from the server.
2012-09-03 15:54:51 -04:00
|-
! -10
2012-09-03 16:05:49 -04:00
! Respond
! ClassNotFoundException
! A ClassNotFoundException was thrown while responding to a request from the server.
2012-09-03 15:54:51 -04:00
|-
! -11
2012-09-03 16:05:49 -04:00
! Respond
! InvalidClassException
! An InvalidClassException was thrown while responding to a request from the server.
2012-09-03 15:54:51 -04:00
|-
! -12
2012-09-03 16:05:49 -04:00
! Response
! StreamCorruptedException
! A StreamCorruptedException was thrown while responding to a request from the server.
2012-09-03 15:54:51 -04:00
|-
! -13
2012-09-03 16:05:49 -04:00
! Response
! OptionalDataException
! An OptionDataException was thrown while responding to a request from the server.
2012-09-03 15:54:51 -04:00
|-
! -14
2012-09-03 16:05:49 -04:00
! Response
! IllegalAccessException
! An IllegalAccessException was thrown while responding to a request from the server.
2012-09-03 15:54:51 -04:00
|-
! -15
2012-09-03 16:05:49 -04:00
! Response
! IllegalArgumentException
! An IllegalArgumentException was thrown while responding to a request from the server.
2012-09-03 15:54:51 -04:00
|-
! -16
2012-09-03 16:05:49 -04:00
! Response
! InvocationTargetException
! An InvocationTargetException was thrown while responding to a request from the server.
2012-09-03 15:54:51 -04:00
|-
! -17
2012-09-03 16:05:49 -04:00
! Response
! SecurityException
! A SecurityException was thrown while responding to a request from the server.
!
2012-09-03 15:54:51 -04:00
|-
! -18
2012-09-03 16:05:49 -04:00
! Response
! IOException
! An IOException was thrown while responding to a request from the server.
2012-09-03 15:54:51 -04:00
|-
! -19
2012-09-03 16:05:49 -04:00
! Response
! NullPointerException
! A NullPointerException was thrown while responding to a request from the server.
2012-09-03 15:54:51 -04:00
|-
! -20
2012-09-03 16:05:49 -04:00
! Response
! Exception
! An Exception was thrown while responding to a request from the server.
2012-09-03 15:54:51 -04:00
|-
! -21
2012-09-03 16:05:49 -04:00
! Response
! Throwable
! An error or exception was thrown while receiving a request from the server.
2012-09-03 15:50:32 -04:00
|}