1
0

Helios-Exceptions.js 984 B

12345678910111213141516
  1. define("amber_core/Helios-Exceptions", ["amber_vm/smalltalk", "amber_vm/nil", "amber_vm/_st", "amber_vm/globals", "amber_core/Kernel-Exceptions"], function(smalltalk,nil,_st, globals){
  2. smalltalk.addPackage('Helios-Exceptions');
  3. smalltalk.packages["Helios-Exceptions"].transport = {"type":"amd","amdNamespace":"amber_core"};
  4. smalltalk.addClass('HLError', globals.Error, [], 'Helios-Exceptions');
  5. globals.HLError.comment="I am the abstract superclass of all Helios-specific errors.";
  6. smalltalk.addClass('HLChangeForbidden', globals.HLError, [], 'Helios-Exceptions');
  7. globals.HLChangeForbidden.comment="I get signaled when a (often user) requested change is forbidden. A confirmation message can then be displayed to the user.\x0a\x0aSee `HLModel >> withChangesDo:`.";
  8. smalltalk.addClass('HLListItemNotFound', globals.HLError, [], 'Helios-Exceptions');
  9. globals.HLListItemNotFound.comment="I get signaled by a `HLListWidget` when a non-existing item in the list is activated.";
  10. });