From 50fbe5453c227a93cb14781f0dbe3d80686ac889 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 11 Feb 2005 14:12:40 +0000 Subject: [PATCH] added brokenSession git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@44 9efc2488-bf62-4759-914b-345cdb29e865 --- src/javascript/opensrf_domain_object.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/javascript/opensrf_domain_object.js b/src/javascript/opensrf_domain_object.js index 615b8c5..bbcc576 100644 --- a/src/javascript/opensrf_domain_object.js +++ b/src/javascript/opensrf_domain_object.js @@ -98,6 +98,9 @@ DomainObject.newFromNode = function( node ) { case "oilsMethodException": return new oilsMethodException().replaceNode( node ); + case "oilsBrokenSession": + return new oilsBrokenSession().replaceNode( node ); + case "oilsScalar": return new oilsScalar().replaceNode( node ); @@ -490,6 +493,17 @@ function oilsMethodException( status, statusCode ) { } } +oilsBrokenSession.prototype = new oilsException(); +oilsBrokenSession.prototype.constructor = oilsBrokenSession; +oilsBrokenSession.prototype.baseClass = oilsException.prototype.constructor; + +/** broken session exception */ +function oilsBrokenSession( status, statusCode ) { + if( status && statusCode ) { + this._initResponse( "oilsBrokenSession", status, statusCode ); + } +} + // ----------------------------------------------------------------------------- // oilsScalar -- 2.11.0