Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | 41x 41x 41x 41x 41x 41x 127x 127x 41x 41x 57x 57x 57x 57x 41x 41x 67x 67x 67x 67x 41x 41x 30x 30x 41x 41x 41x 41x 41x 41x 41x 41x 41x 147x 147x 147x 147x 147x 147x 147x 57x 57x 90x 90x 145x 74x 74x 90x 90x 41x 41x 41x 163x 163x 163x 163x 163x 163x 163x 67x 67x 96x 96x 162x 68x 68x 96x 96x 41x | // Copyright (c) ZeroC, Inc. import { Exception } from "./Exception.js"; export class UserException extends Exception { constructor() { super(); } _write(os) { os.startException(); writeImpl(this, os, this._mostDerivedType()); os.endException(); } _read(is) { is.startException(); readImpl(this, is, this._mostDerivedType()); is.endException(); } _usesClasses() { return false; } _mostDerivedType() { return UserException; } } // // Private methods // const writeImpl = function (obj, os, type) { // // The writeImpl method is a recursive method that goes down the // class hierarchy to marshal each slice of the class using the // generated _writeMemberImpl method. // if (type === undefined || type === UserException) { return; // Don't marshal anything for Ice.UserException } os.startSlice(type._ice_id, -1, type._parent === UserException); if (Object.hasOwn(type.prototype, "_writeMemberImpl")) { type.prototype._writeMemberImpl.call(obj, os); } os.endSlice(); writeImpl(obj, os, type._parent); }; const readImpl = function (obj, is, type) { // // The readImpl method is a recursive method that goes down the // class hierarchy to marshal each slice of the class using the // generated _readMemberImpl method. // if (type === undefined || type === UserException) { return; // Don't marshal anything for UserException } is.startSlice(); if (Object.hasOwn(type.prototype, "_readMemberImpl")) { type.prototype._readMemberImpl.call(obj, is); } is.endSlice(); readImpl(obj, is, type._parent); }; |