Formspider APIs


Package api_exception


Type Summary
 RECORD t_exception(message_tx varchar2(4000), methodname_tx varchar2(255), exceptioncode_tx varchar2(255), errorbacktrace_tx varchar2(32000), unsecureevent_yn varchar2(4) DEFAULT 'N')
           Record type to store an exception

Method Summary
 t_exception getexception()
           Returns the last exception raised by a Formspider API.
 t_exception getlastexception()
           Deprecated. Use getException instead.
 varchar2 getmessage()
           Returns the exception message of the last exception raised by a Formspider API.

Type Detail

t_exception

public RECORD t_exception(message_tx varchar2(4000), 
methodname_tx varchar2(255),
exceptioncode_tx varchar2(255),
errorbacktrace_tx varchar2(32000),
unsecureevent_yn varchar2(4) DEFAULT 'N')
Record type to store an exception

Parameters:
message_tx - Exception message
methodname_tx - Name of API where exception take place
exceptioncode_tx - Exception code
errorbacktrace_tx - Error backtrace
unsecureevent_yn - Y for unsecure events sent from client


Method Detail

getexception

public t_exception getexception()
Returns the last exception raised by a Formspider API.
Returns:
exception as t_exception type


getlastexception

public t_exception getlastexception()
Gets last exception records
Returns:
Last exception records

Deprecated:
Use getException instead.


getmessage

public varchar2 getmessage()
Returns the exception message of the last exception raised by a Formspider API.
Returns:
exception message


Formspider APIs