HTB User Group on-line Forum
09 Sep 2010, 10:51 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome! HTB Online forum is open for posts.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Error parameter description  (Read 472 times)
Lorenzo Colonniello
HTBUG Standard Users
Newbie
*
Posts: 22


« on: 12 Jan 2010, 12:45 »

Hi all , someone have the parameter list description like CODE_PARAM = CTB_PERMISSION_NOT_GRANTED and others , or can you tell me where I can find it?

Thankyou

Lorenzo
Logged
Henrik Ring
HTBUG Moderators
Full Member
**
Posts: 73


« Reply #1 on: 20 Jan 2010, 08:21 »

Hi Lorenzo,
I cannot see whether you are on HTB version 5 or 6; but in both cases
CTBException has been extended into several sub-classes.

For V5 the following direct sub-classes of CTBException exist:
CTBRemoteException, CTBSecurityException, CTBValidationException, and eg.
CTBValidationException have sub-classes RimDataTypeException,
RimObjectException. If you look at eg. RimObjectException you will see it
has a "getIds()" method that will return you a SET_II. This method will
return you the IIs of the acts/roles/entities that cause an exception eg.
violating referential integrity.
Remember to examine the explicit sub-type of an exception for information
eg. the IDs above are not included if you just do a printStacktrace().

For V6 the following sub-classes exist:  CTBBadParameterException,
CTBDataAccessException, CTBLockingException, CTBRemoteException,
CTBRowException, CTBSecurityException, CTBSessionTimeoutException,
CTBSystemException, CTBValidationException.

Information on CTBException and sub-classes is available in the JavaDoc
for both V5 and V6. Please note that exception design changed from 5 to 6.

If what you are looking for is a list of possible values for CODE_PARAM I
do not know of a source of that; but perhaps the above information can be
useful.
Logged

Henrik Ring
Information System Architect
CSC health care EMEA
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!