What does the Error code(1000) means ?
How can I get the error message ?
Is there any way user can define our own exception to the error code ?
Code: Select all
class predicates
testException : (integer ) .
clauses
testException(Var):-
try
if Var <> 1 then
succeed()
else
errorExit(1000) %throw to catch block - How to define a user message to the error code?
end if
catch TraceID do
vpiCommonDialogs::note(exceptionDump::dumpToString(TraceID))
end try,
!.
Thanks in advance..