How to define exceptions?
I have an internal table containing Key and Value as fieldnames. I have defined follwoing methods.
SET (KEY, VALUE);
In the Get Method, i need to pass a key, it must return the value. If the key is not found, it must raise some user defined exception. Similar case with set and delete also.
Can anyone tell me in detail how to implement exceptions in my case?