
/*
 * This file was generated by the SOM Compiler.
 * FileName: xmscssae.xh.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.19
 *     SOM Emitter emitxh.dll: 2.108
 */

/*
 *  @(#) 1.3 src/somos/cs/exceptns/xmscssae.idl, somos, som3.0 9/3/96 18:42:16 [12/22/96 22:04:48]
 * 
 *  ModuleName:  exceptions
 * 
 *  Description: This module contians the idl description for the User
 *               Exceptions.  It is based on the definitions from the X/Open
 *               spec.  Two of these exceptions, ExNoMoreMemory and ExFileIO,
 * 	        are not officially X/Open.  They are remnants of the Tivoli
 *               code that is still being used.
 * 
 *   25H7912  (C)  Copyright International Business Machines Corp. 1994,1996
 *  All Rights Reserved
 *  Licensed Materials - Property of IBM
 * 
 *  US Government Users Restricted Rights - Use, duplication or disclosure
 *  restricted by GSA ADP Schedule Contract with IBM Corp.
 * 
 * 
 */


#ifndef SOM_SysAdminException_xh
#define SOM_SysAdminException_xh


#define SysAdminException_MajorVersion 3
#define SysAdminException_MinorVersion 0
class SysAdminException;

/* Parents */
#ifndef SOM_SOMObject_xh
#ifdef SOMLOCALINCLUDES
#include "somobj.xh"
#else
#include <somobj.xh>
#endif
#endif

/* Useful C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>

#ifndef SysAdminException_API
#define SysAdminException_API
/*
 * -- The Class API
 */
#ifndef SOM_IMPORTEXPORT_somcslib_xmscssae
#ifdef SOM_DLL_somcslib
	/* export semantics */
	#if defined(SOM_DEFFILE_somcslib)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_somcslib))\
	|| !defined(SOM_Module_xmscssae_Source)
	#define SOM_IMPORTEXPORT_somcslib_xmscssae
	#else
	#define SOM_IMPORTEXPORT_somcslib_xmscssae SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_somcslib_xmscssae SOMDLLIMPORT
#endif
#endif

/*
 * Start of bindings for IDL types
 */

class SOMClass;
class SOMObject;
#define ex_SysAdminException_Exception "::SysAdminException::Exception"
typedef
struct SysAdminException_Exception {
void*  dummy;
} SysAdminException_Exception;
#ifndef _IDL_SEQUENCE_octet_defined
#define _IDL_SEQUENCE_octet_defined
typedef struct {
    unsigned long _maximum;
    unsigned long _length;
    octet *_buffer;
} _IDL_SEQUENCE_octet;
#endif /* _IDL_SEQUENCE_octet_defined */ 
typedef
_IDL_SEQUENCE_octet SysAdminException_MsgContext;
#define ex_SysAdminException_ExException "::SysAdminException::ExException"
typedef
struct SysAdminException_ExException {
string  type_name;
string  catalog;
long  key;
string  default_msg;
long  time_stamp;
SysAdminException_MsgContext msg_context;
} SysAdminException_ExException;
/*
 *  Base exception class with X/Open messages
 */

#define ex_SysAdminException_ExFailed "::SysAdminException::ExFailed"
typedef
struct SysAdminException_ExFailed {
string  type_name;
string  catalog;
long  key;
string  default_msg;
long  time_stamp;
SysAdminException_MsgContext msg_context;
string  operation_name;
} SysAdminException_ExFailed;
/*
 *  an operation failure
 */

#define ex_SysAdminException_ExInvalid "::SysAdminException::ExInvalid"
typedef
struct SysAdminException_ExInvalid {
string  type_name;
string  catalog;
long  key;
string  default_msg;
long  time_stamp;
SysAdminException_MsgContext msg_context;
string  resource_name;
} SysAdminException_ExInvalid;
/*
 *  failure from an invalid resource
 */

#define ex_SysAdminException_ExNotFound "::SysAdminException::ExNotFound"
typedef
struct SysAdminException_ExNotFound {
string  type_name;
string  catalog;
long  key;
string  default_msg;
long  time_stamp;
SysAdminException_MsgContext msg_context;
string  resource_name;
} SysAdminException_ExNotFound;
/*
 *  failures due to missing resource
 */

#define ex_SysAdminException_ExExists "::SysAdminException::ExExists"
typedef
struct SysAdminException_ExExists {
string  type_name;
string  catalog;
long  key;
string  default_msg;
long  time_stamp;
SysAdminException_MsgContext msg_context;
string  resource_name;
} SysAdminException_ExExists;
/*
 *  failures resulting from an already existing resource
 */

#define ex_SysAdminException_ExFileIO "::SysAdminException::ExFileIO"
typedef
struct SysAdminException_ExFileIO {
string  type_name;
string  catalog;
long  key;
string  default_msg;
long  time_stamp;
SysAdminException_MsgContext msg_context;
string  resource_name;
} SysAdminException_ExFileIO;
/*
 *  can't file I/O problem
 */

#define ex_SysAdminException_ExObjNotFound "::SysAdminException::ExObjNotFound"
typedef
struct SysAdminException_ExObjNotFound {
string  type_name;
string  catalog;
long  key;
string  default_msg;
long  time_stamp;
SysAdminException_MsgContext msg_context;
string  resource_name;
} SysAdminException_ExObjNotFound;
/*
 *  failures due to missing object
 */

#define ex_SysAdminException_ExNoMoreMemory "::SysAdminException::ExNoMoreMemory"
typedef
struct SysAdminException_ExNoMoreMemory {
string  type_name;
string  catalog;
long  key;
string  default_msg;
long  time_stamp;
SysAdminException_MsgContext msg_context;
string  message;
long  size;
} SysAdminException_ExNoMoreMemory;
/*
 *  memory used up
 */


#ifndef SOM_DONT_USE_SHORT_NAMES
#ifndef SOMTGD_ex_Exception
    #ifdef ex_Exception
        #undef ex_Exception
        #define SOMTGD_ex_Exception 1
    #else
        #define ex_Exception ex_SysAdminException_Exception
    #endif /* ex_Exception */
#endif /* SOMTGD_ex_Exception */
#ifndef SOMTGD_Exception
    #ifdef Exception
        #undef Exception
        #define SOMTGD_Exception 1
    #else
        #define Exception SysAdminException_Exception
    #endif /* Exception */
#endif /* SOMTGD_Exception */

#ifndef SOM_DONT_USE_SHORT_NAMES
#ifndef SOMTGD_MsgContext
    #ifdef MsgContext
        #undef MsgContext
        #define SOMTGD_MsgContext 1
    #else
        #define MsgContext SysAdminException_MsgContext
    #endif /* MsgContext */
#endif /* SOMTGD_MsgContext */
#endif /* SOM_DONT_USE_SHORT_NAMES */
#ifndef SOMTGD_ex_ExException
    #ifdef ex_ExException
        #undef ex_ExException
        #define SOMTGD_ex_ExException 1
    #else
        #define ex_ExException ex_SysAdminException_ExException
    #endif /* ex_ExException */
#endif /* SOMTGD_ex_ExException */
#ifndef SOMTGD_ExException
    #ifdef ExException
        #undef ExException
        #define SOMTGD_ExException 1
    #else
        #define ExException SysAdminException_ExException
    #endif /* ExException */
#endif /* SOMTGD_ExException */
#ifndef SOMTGD_ex_ExFailed
    #ifdef ex_ExFailed
        #undef ex_ExFailed
        #define SOMTGD_ex_ExFailed 1
    #else
        #define ex_ExFailed ex_SysAdminException_ExFailed
    #endif /* ex_ExFailed */
#endif /* SOMTGD_ex_ExFailed */
#ifndef SOMTGD_ExFailed
    #ifdef ExFailed
        #undef ExFailed
        #define SOMTGD_ExFailed 1
    #else
        #define ExFailed SysAdminException_ExFailed
    #endif /* ExFailed */
#endif /* SOMTGD_ExFailed */
#ifndef SOMTGD_ex_ExInvalid
    #ifdef ex_ExInvalid
        #undef ex_ExInvalid
        #define SOMTGD_ex_ExInvalid 1
    #else
        #define ex_ExInvalid ex_SysAdminException_ExInvalid
    #endif /* ex_ExInvalid */
#endif /* SOMTGD_ex_ExInvalid */
#ifndef SOMTGD_ExInvalid
    #ifdef ExInvalid
        #undef ExInvalid
        #define SOMTGD_ExInvalid 1
    #else
        #define ExInvalid SysAdminException_ExInvalid
    #endif /* ExInvalid */
#endif /* SOMTGD_ExInvalid */
#ifndef SOMTGD_ex_ExNotFound
    #ifdef ex_ExNotFound
        #undef ex_ExNotFound
        #define SOMTGD_ex_ExNotFound 1
    #else
        #define ex_ExNotFound ex_SysAdminException_ExNotFound
    #endif /* ex_ExNotFound */
#endif /* SOMTGD_ex_ExNotFound */
#ifndef SOMTGD_ExNotFound
    #ifdef ExNotFound
        #undef ExNotFound
        #define SOMTGD_ExNotFound 1
    #else
        #define ExNotFound SysAdminException_ExNotFound
    #endif /* ExNotFound */
#endif /* SOMTGD_ExNotFound */
#ifndef SOMTGD_ex_ExExists
    #ifdef ex_ExExists
        #undef ex_ExExists
        #define SOMTGD_ex_ExExists 1
    #else
        #define ex_ExExists ex_SysAdminException_ExExists
    #endif /* ex_ExExists */
#endif /* SOMTGD_ex_ExExists */
#ifndef SOMTGD_ExExists
    #ifdef ExExists
        #undef ExExists
        #define SOMTGD_ExExists 1
    #else
        #define ExExists SysAdminException_ExExists
    #endif /* ExExists */
#endif /* SOMTGD_ExExists */
#ifndef SOMTGD_ex_ExFileIO
    #ifdef ex_ExFileIO
        #undef ex_ExFileIO
        #define SOMTGD_ex_ExFileIO 1
    #else
        #define ex_ExFileIO ex_SysAdminException_ExFileIO
    #endif /* ex_ExFileIO */
#endif /* SOMTGD_ex_ExFileIO */
#ifndef SOMTGD_ExFileIO
    #ifdef ExFileIO
        #undef ExFileIO
        #define SOMTGD_ExFileIO 1
    #else
        #define ExFileIO SysAdminException_ExFileIO
    #endif /* ExFileIO */
#endif /* SOMTGD_ExFileIO */
#ifndef SOMTGD_ex_ExObjNotFound
    #ifdef ex_ExObjNotFound
        #undef ex_ExObjNotFound
        #define SOMTGD_ex_ExObjNotFound 1
    #else
        #define ex_ExObjNotFound ex_SysAdminException_ExObjNotFound
    #endif /* ex_ExObjNotFound */
#endif /* SOMTGD_ex_ExObjNotFound */
#ifndef SOMTGD_ExObjNotFound
    #ifdef ExObjNotFound
        #undef ExObjNotFound
        #define SOMTGD_ExObjNotFound 1
    #else
        #define ExObjNotFound SysAdminException_ExObjNotFound
    #endif /* ExObjNotFound */
#endif /* SOMTGD_ExObjNotFound */
#ifndef SOMTGD_ex_ExNoMoreMemory
    #ifdef ex_ExNoMoreMemory
        #undef ex_ExNoMoreMemory
        #define SOMTGD_ex_ExNoMoreMemory 1
    #else
        #define ex_ExNoMoreMemory ex_SysAdminException_ExNoMoreMemory
    #endif /* ex_ExNoMoreMemory */
#endif /* SOMTGD_ex_ExNoMoreMemory */
#ifndef SOMTGD_ExNoMoreMemory
    #ifdef ExNoMoreMemory
        #undef ExNoMoreMemory
        #define SOMTGD_ExNoMoreMemory 1
    #else
        #define ExNoMoreMemory SysAdminException_ExNoMoreMemory
    #endif /* ExNoMoreMemory */
#endif /* SOMTGD_ExNoMoreMemory */
#endif /* SOM_DONT_USE_SHORT_NAMES */

/*
 * End of bindings for IDL types.
 */

/*
 * A function to create the SysAdminException class object...
 */
SOMEXTERN SOM_IMPORTEXPORT_somcslib_xmscssae SOMClass * SOMLINK SysAdminExceptionNewClass(
		integer4 majorVersion,
		integer4 minorVersion);


/*
 * The API 2 ClassData Structures...
 */
SOMEXTERN struct SysAdminExceptionClassDataStructure {
	SOMClass *classObject;
} SOMDLINK SOM_IMPORTEXPORT_somcslib_xmscssae SysAdminExceptionClassData;
SOMEXTERN struct SysAdminExceptionCClassDataStructure {
	som3ClassDetailsPtr    parentMtab;
	somDToken              instanceDataToken;
} SOMDLINK SOM_IMPORTEXPORT_somcslib_xmscssae SysAdminExceptionCClassData;


/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SysAdminException (SysAdminExceptionClassData.classObject)
#ifndef SOMGD_SysAdminException
    #if (defined(_SysAdminException) || defined(__SysAdminException))
        #undef _SysAdminException
        #undef __SysAdminException
        #define SOMGD_SysAdminException 1
    #else
        #define _SysAdminException _SOMCLASS_SysAdminException
    #endif /* _SysAdminException */
#endif /* SOMGD_SysAdminException */
#define SysAdminException_classObj _SOMCLASS_SysAdminException
#define _SOMMTOKEN_SysAdminException(method) ((somMToken)SysAdminExceptionClassData.method)

/*
 * -- Typedefs for SysAdminException Method Procedures
 */
SOMEXTERN {

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_SysAdminException_somDefaultInit(SysAdminException *somSelf, 
		som3InitCtrl* ctrl);
typedef somTP_SysAdminException_somDefaultInit *somTD_SysAdminException_somDefaultInit;
typedef void   SOMLINK somTP_SysAdminException_somDestruct(SysAdminException *somSelf, 
		octet doFree, 
		som3DestructCtrl* ctrl);
typedef somTP_SysAdminException_somDestruct *somTD_SysAdminException_somDestruct;
typedef void   SOMLINK somTP_SysAdminException_somDefaultCopyInit(SysAdminException *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SysAdminException_somDefaultCopyInit *somTD_SysAdminException_somDefaultCopyInit;
typedef SysAdminException*   SOMLINK somTP_SysAdminException_somDefaultAssign(SysAdminException *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SysAdminException_somDefaultAssign *somTD_SysAdminException_somDefaultAssign;
typedef void   SOMLINK somTP_SysAdminException_somDefaultConstCopyInit(SysAdminException *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SysAdminException_somDefaultConstCopyInit *somTD_SysAdminException_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_SysAdminException_somDefaultVCopyInit(SysAdminException *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SysAdminException_somDefaultVCopyInit *somTD_SysAdminException_somDefaultVCopyInit;
typedef void   SOMLINK somTP_SysAdminException_somDefaultConstVCopyInit(SysAdminException *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SysAdminException_somDefaultConstVCopyInit *somTD_SysAdminException_somDefaultConstVCopyInit;
typedef SysAdminException*   SOMLINK somTP_SysAdminException_somDefaultConstAssign(SysAdminException *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SysAdminException_somDefaultConstAssign *somTD_SysAdminException_somDefaultConstAssign;
typedef SysAdminException*   SOMLINK somTP_SysAdminException_somDefaultVAssign(SysAdminException *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SysAdminException_somDefaultVAssign *somTD_SysAdminException_somDefaultVAssign;
typedef SysAdminException*   SOMLINK somTP_SysAdminException_somDefaultConstVAssign(SysAdminException *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SysAdminException_somDefaultConstVAssign *somTD_SysAdminException_somDefaultConstVAssign;
typedef void   SOMLINK somTP_SysAdminException_somInit(SysAdminException *somSelf);
typedef somTP_SysAdminException_somInit *somTD_SysAdminException_somInit;
typedef void   SOMLINK somTP_SysAdminException_somUninit(SysAdminException *somSelf);
typedef somTP_SysAdminException_somUninit *somTD_SysAdminException_somUninit;
typedef void   SOMLINK somTP_SysAdminException_somFree(SysAdminException *somSelf);
typedef somTP_SysAdminException_somFree *somTD_SysAdminException_somFree;
typedef SOMClass*   SOMLINK somTP_SysAdminException_somGetClass(SysAdminException *somSelf);
typedef somTP_SysAdminException_somGetClass *somTD_SysAdminException_somGetClass;
typedef string   SOMLINK somTP_SysAdminException_somGetClassName(SysAdminException *somSelf);
typedef somTP_SysAdminException_somGetClassName *somTD_SysAdminException_somGetClassName;
typedef long   SOMLINK somTP_SysAdminException_somGetSize(SysAdminException *somSelf);
typedef somTP_SysAdminException_somGetSize *somTD_SysAdminException_somGetSize;
typedef boolean   SOMLINK somTP_SysAdminException_somIsA(SysAdminException *somSelf, 
		SOMClass* aClassObj);
typedef somTP_SysAdminException_somIsA *somTD_SysAdminException_somIsA;
typedef boolean   SOMLINK somTP_SysAdminException_somIsInstanceOf(SysAdminException *somSelf, 
		SOMClass* aClassObj);
typedef somTP_SysAdminException_somIsInstanceOf *somTD_SysAdminException_somIsInstanceOf;
typedef boolean   SOMLINK somTP_SysAdminException_somRespondsTo(SysAdminException *somSelf, 
		somId mId);
typedef somTP_SysAdminException_somRespondsTo *somTD_SysAdminException_somRespondsTo;
typedef boolean   SOMLINK somTP_SysAdminException_somDispatch(SysAdminException *somSelf, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_SysAdminException_somDispatch *somTD_SysAdminException_somDispatch;
typedef boolean   SOMLINK somTP_SysAdminException_somClassDispatch(SysAdminException *somSelf, 
		SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_SysAdminException_somClassDispatch *somTD_SysAdminException_somClassDispatch;
typedef boolean   SOMLINK somTP_SysAdminException_somCastObj(SysAdminException *somSelf, 
		SOMClass* castedCls);
typedef somTP_SysAdminException_somCastObj *somTD_SysAdminException_somCastObj;
typedef boolean   SOMLINK somTP_SysAdminException_somResetObj(SysAdminException *somSelf);
typedef somTP_SysAdminException_somResetObj *somTD_SysAdminException_somResetObj;
typedef SysAdminException*   SOMLINK somTP_SysAdminException_somPrintSelf(SysAdminException *somSelf);
typedef somTP_SysAdminException_somPrintSelf *somTD_SysAdminException_somPrintSelf;
typedef void   SOMLINK somTP_SysAdminException_somDumpSelf(SysAdminException *somSelf, 
		long level);
typedef somTP_SysAdminException_somDumpSelf *somTD_SysAdminException_somDumpSelf;
typedef void   SOMLINK somTP_SysAdminException_somDumpSelfInt(SysAdminException *somSelf, 
		long level);
typedef somTP_SysAdminException_somDumpSelfInt *somTD_SysAdminException_somDumpSelfInt;
}

#endif /* SysAdminException_API */


/*
 * -- The C++ Wrapper Class for SysAdminException
 */
class SysAdminException : public SOMObject
{
public:

// SysAdminException::new creates the class object if necessary, and then uses
// somNewNoInit to allocate memory and create the object.
// Initialization is in ctors.
void *operator new(size_t)
{
   if (!_SysAdminException) SysAdminExceptionNewClass(SysAdminException_MajorVersion,SysAdminException_MinorVersion);
   return (void*)
   (((somTD_SOMClass_somNewNoInit)(SOMClassClassData.somNewNoInit))
         ((SOMClass *)((void*)_SysAdminException)));
}

// SysAdminException::delete uses somFree.
void operator delete(void * obj)
{
   if (obj && *(void**)obj)
      ((SOMObject*)obj)->somFree();
}

SysAdminException& operator=(SysAdminException& fromObj)
{
   this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
   return *this;
}

SysAdminException()
{
   if (*(void**)this != (SysAdminExceptionCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultInit(0);
}

SysAdminException(SysAdminException* fromObj)
{
   if (*(void**)this != (SysAdminExceptionCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}


/*
 * Reintroduce inherited methods
 */

/* initializer method: somDefaultInit */
void   somDefaultInit(som3InitCtrl* ctrl)
{
/*
 *  A default initializer for a SOM object. Passing a null ctrl
 *  indicates to the receiver that its class is the class of the
 *  object being initialized, whereby the initializer will determine
 *  an appropriate control structure.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDefaultInit)(SOMObjectClassData.somDefaultInit))(((SysAdminException *)((void *)this)),ctrl)
	);
}


/* method: somDestruct */
void   somDestruct(octet doFree, 
		som3DestructCtrl* ctrl)
{
/*
 *  The default destructor for a SOM object. A nonzero <doFree>
 *  indicates that the object storage should be freed by the
 *  object's class (via somDeallocate) after uninitialization.
 *  As with somDefaultInit, a null ctrl can be passed.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDestruct)(SOMObjectClassData.somDestruct))(((SysAdminException *)((void *)this)),doFree,ctrl)
	);
}


/* initializer method: somDefaultCopyInit */
void   somDefaultCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor. Use this to make copies of objects for
 *  calling methods with "by-value" argument semantics.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDefaultCopyInit)(SOMObjectClassData.somDefaultCopyInit))(((SysAdminException *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultAssign */
SysAdminException*  somDefaultAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator. Use this to "assign" the state of one
 *  object to another.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDefaultAssign)(SOMObjectClassData.somDefaultAssign))(((SysAdminException *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstCopyInit */
void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDefaultConstCopyInit)(SOMObjectClassData.somDefaultConstCopyInit))(((SysAdminException *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultVCopyInit */
void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDefaultVCopyInit)(SOMObjectClassData.somDefaultVCopyInit))(((SysAdminException *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstVCopyInit */
void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDefaultConstVCopyInit)(SOMObjectClassData.somDefaultConstVCopyInit))(((SysAdminException *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstAssign */
SysAdminException*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDefaultConstAssign)(SOMObjectClassData.somDefaultConstAssign))(((SysAdminException *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultVAssign */
SysAdminException*  somDefaultVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDefaultVAssign)(SOMObjectClassData.somDefaultVAssign))(((SysAdminException *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstVAssign */
SysAdminException*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDefaultConstVAssign)(SOMObjectClassData.somDefaultConstVAssign))(((SysAdminException *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somInit */
void   somInit()
{
/*
 *  Obsolete but still supported. Override somDefaultInit instead of somInit.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somInit)(SOMObjectClassData.somInit))(((SysAdminException *)((void *)this)))
	);
}


/* method: somUninit */
void   somUninit()
{
/*
 *  Obsolete but still supported. Override somDestruct instead of somUninit.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somUninit)(SOMObjectClassData.somUninit))(((SysAdminException *)((void *)this)))
	);
}


/* method: somFree */
void   somFree()
{
/*
 *  The default implementation just calls somDestruct.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somFree)(SOMObjectClassData.somFree))(((SysAdminException *)((void *)this)))
	);
}


/* method: somGetClass */
SOMClass*   somGetClass()
{
/*
 *  Return the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somGetClass)(SOMObjectClassData.somGetClass))(((SysAdminException *)((void *)this)))
	);
}


/* method: somGetClassName */
string   somGetClassName()
{
/*
 *  Return the name of the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somGetClassName)(SOMObjectClassData.somGetClassName))(((SysAdminException *)((void *)this)))
	);
}


/* method: somGetSize */
long   somGetSize()
{
/*
 *  Return the size of the receiver.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somGetSize)(SOMObjectClassData.somGetSize))(((SysAdminException *)((void *)this)))
	);
}


/* method: somIsA */
boolean   somIsA(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver responds to methods
 *  introduced by <aClassObj>, and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somIsA)(SOMObjectClassData.somIsA))(((SysAdminException *)((void *)this)),aClassObj)
	);
}


/* method: somIsInstanceOf */
boolean   somIsInstanceOf(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver is an instance of
 *  <aClassObj> and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somIsInstanceOf)(SOMObjectClassData.somIsInstanceOf))(((SysAdminException *)((void *)this)),aClassObj)
	);
}


/* method: somRespondsTo */
boolean   somRespondsTo(somId mId)
{
/*
 *  Returns 1 (true) if the indicated method can be invoked
 *  on the receiver and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somRespondsTo)(SOMObjectClassData.somRespondsTo))(((SysAdminException *)((void *)this)),mId)
	);
}


/* va_list method: somDispatch */

/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
/* the va_list invocation form */
boolean   SOMObject_somDispatch(somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDispatch)(SOMObjectClassData.somDispatch))(((SysAdminException *)((void *)this)),retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somDispatch(somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDispatch)(SOMObjectClassData.somDispatch))(((SysAdminException *)((void *)this)),retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* va_list method: somClassDispatch */

/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
/* the va_list invocation form */
boolean   SOMObject_somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((SysAdminException *)((void *)this)),clsObj,retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((SysAdminException *)((void *)this)),clsObj,retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* method: somCastObj */
boolean   somCastObj(SOMClass* castedCls)
{
/*
 *  Changes the behavior of the target object to that implemented
 *  by castedCls. This is possible when all concrete data in castedCls
 *  is also concrete in the true class of the target object.
 *  Returns true (1) on success, and false (0) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somCastObj)(SOMObjectClassData.somCastObj))(((SysAdminException *)((void *)this)),castedCls)
	);
}


/* method: somResetObj */
boolean   somResetObj()
{
/*
 *  reset an object to its true class. Returns true always.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somResetObj)(SOMObjectClassData.somResetObj))(((SysAdminException *)((void *)this)))
	);
}


/* method: somPrintSelf */
SysAdminException*  somPrintSelf()
{
/*
 *  Uses <SOMOutCharRoutine> to write a brief string with identifying
 *  information about this object.  The default implementation just gives
 *  the object's class name and its address in memory.
 *  <self> is returned.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somPrintSelf)(SOMObjectClassData.somPrintSelf))(((SysAdminException *)((void *)this)))
	);
}


/* method: somDumpSelf */
void   somDumpSelf(long level)
{
/*
 *  Uses <SOMOutCharRoutine> to write a detailed description of this object
 *  and its current state.
 * 
 *  <level> indicates the nesting level for describing compound objects
 *  it must be greater than or equal to zero.  All lines in the
 *  description will be preceeded by <2*level> spaces.
 * 
 *  This routine only actually writes the data that concerns the object
 *  as a whole, such as class, and uses <somDumpSelfInt> to describe
 *  the object's current state.  This approach allows readable
 *  descriptions of compound objects to be constructed.
 * 
 *  Generally it is not necessary to override this method, if it is
 *  overriden it generally must be completely replaced.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDumpSelf)(SOMObjectClassData.somDumpSelf))(((SysAdminException *)((void *)this)),level)
	);
}


/* method: somDumpSelfInt */
void   somDumpSelfInt(long level)
{
/*
 *  Uses <SOMOutCharRoutine> to write in the current state of this object.
 *  Generally this method will need to be overridden.  When overriding
 *  it, begin by calling the parent class form of this method and then
 *  write in a description of your class's instance data. This will
 *  result in a description of all the object's instance data going
 *  from its root ancestor class to its specific class.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SysAdminException_somDumpSelfInt)(SOMObjectClassData.somDumpSelfInt))(((SysAdminException *)((void *)this)),level)
	);
}



};   /* SysAdminException */



#endif       /* SOM_SysAdminException_xh */
