redefined Apex>primitiveFailed

This commit is contained in:
hyunghwan.chung
2016-05-02 13:59:28 +00:00
parent 389203b6e4
commit 93872bd81d
3 changed files with 22 additions and 7 deletions

View File

@ -390,3 +390,17 @@ Processor activeProcess terminate.
self signal: 'no such message'.
}
}
#extend Apex
{
#method(#class) primitiveFailed
{
## TODO: implement this
## PrimitiveFailureError signal.
self dump.
##'primitive failed' dump.
# TODO: define a specialized exception class for primitive failure and use it.
Exception signal: 'PRIMITIVE FAILED...'.
}
}