Helios-Exceptions.js 976 B

1234567891011121314151617
  1. define("helios/Helios-Exceptions", ["amber/boot", "amber_core/Kernel-Exceptions"], function($boot){
  2. var smalltalk=$boot.vm,nil=$boot.nil,_st=$boot.asReceiver,globals=$boot.globals;
  3. smalltalk.addPackage('Helios-Exceptions');
  4. smalltalk.packages["Helios-Exceptions"].transport = {"type":"amd","amdNamespace":"helios"};
  5. smalltalk.addClass('HLError', globals.Error, [], 'Helios-Exceptions');
  6. globals.HLError.comment="I am the abstract superclass of all Helios-specific errors.";
  7. smalltalk.addClass('HLChangeForbidden', globals.HLError, [], 'Helios-Exceptions');
  8. 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:`.";
  9. smalltalk.addClass('HLListItemNotFound', globals.HLError, [], 'Helios-Exceptions');
  10. globals.HLListItemNotFound.comment="I get signaled by a `HLListWidget` when a non-existing item in the list is activated.";
  11. });