public class Labor extends StatefulMbo implements LaborRemote, LinkedMboRemote
This is an Org level object.
The key attributes for this object are O rgId and Laborcode.
The attributes in this object are as follows:
Attribute Description
Attribute | Description |
---|---|
Attendance | This is the total attendance (sum(laborhours) of all the labor transactions. This is a non-Persistent field. |
AvailFactor | % to use during resource scheduling |
ControlAcc | Labor recovery account. |
DailyTime | This is the total daily time (regularhrs+othrs) of all the labor transactions. This is a non-Persistent field. |
DefaultStoreloc | The default storeroom for requisitioned items |
GLAccount | GL Account used to store default value for labor reporting transcation. |
LabInventoryLoc | The location of inventory for this labor. |
LabInventorySite | The site of inventory for this labor. |
LaborCode | Labor Code |
LaborId | Unique identifier |
OrgId | Identifier for the Organization of this Labor |
OTScale | Overtime Scale |
OwnerSysID | Owner System ID |
PersonID | Person associated with the Labor. |
ReportedHrs | Reported Hours |
ShipToLocation | Company or division where items are to be shipped to |
SourceSysID | Source System ID |
StoreLocation | The inventory labor location. |
Type | Type of Work That Can Be Performed |
WorkLocation | The location where laborer works. |
worksite | Identifier for the site of this Labor |
YTDHRSRefused | Overtime Hours Refused YTD |
YTDOTHRS | Year To Date Overtime Hours |
Attendance
,
LabTrans
,
ServRecTrans
Modifier and Type | Field and Description |
---|---|
boolean |
AMGridCreated |
boolean |
availabilityDataCalculated
The calculateAvailabilityData() method is called once for each labor row on the Available Labor
dialog of the Assignment tab and is triggered by the first access to any of the fields.
|
java.util.Date[] |
serverDateColumn |
onListTab, statusChangeButtonSigoption, targetStatusOption
MULTILANGCOPY, phantomList, phantomQueue
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
Constructor and Description |
---|
Labor(MboSet ms)
Construct the Labor object
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Add a new Labor Object.
|
void |
appValidate()
Checks to be sure that the personid on this record is not assigned on any other records in the organization.
|
void |
associateLoc(java.lang.String loc)
This method gets called to associate selected location
for the current labor record
Author:
Ramadevi Bhogadi
|
void |
calculateAvailabilityData()
The method calculates the values for the nonpersistent fields StartTime, Availability (i.e.
|
void |
canDelete()
This method checks if current labor referenced in LaborAuth,JobPlan,Assignment,Attendance,WPLabor,Workorder objects,
before allowing it's deletion.
|
void |
changeStatus(java.lang.String newStatus,
java.util.Date date,
java.lang.String memo)
Change status.
|
void |
checkCalendarAndShift()
This method checks whether this labor has a calendar and a shift associated
with it.
|
void |
delete(long accessModifier)
Delete the labor and all related LaborCraftRates, LaborStatuses, LaborQuals, LaborQualStatuses, LaborCertHists, and LaborAuth.
|
MboRemote |
duplicate()
This method creates a duplicate labor
Author:
Ramadevi Bhogadi
|
void |
generateAutoKey()
This method enables you to set autokey for laborcode if it is null
Author:
Ramadevi Bhogadi
|
java.lang.String |
getAddressString()
There is no address string with LBSLocation.
|
java.lang.Double |
getAltitude() |
java.lang.Double |
getAltitudeAccuracy() |
double |
getAssignedHours(boolean insideCurrentDateWorkingTime,
java.util.Date rangeStartDateTime,
java.util.Date rangeFinishDateTime,
MboSetRemote dayNAssignmentSet)
Sums up the assigned hours of the assignments in the assignment set, but only
those portions of them that are actually inside the passed range.
|
java.util.Date |
getClientDTFromServerDT(java.util.Date serverDateTime,
java.util.GregorianCalendar scratchCal)
Generates a datetime in the client time zone from a datetime in the server time
zone using the MXFormat datetime/string methods.
|
MboSetRemote |
getDayNAssignmentSet(MboRemote theLaborMbo,
java.util.Date wpStartDateTime,
java.util.Date wpEndDateTime)
Fetches the mboset containing those assignments for this laborcode that overlap
the working time of dayN (i.e.
|
java.util.Date |
getEarliestUnassignedDateTime(MboSetRemote dayNAssignmentSet,
java.util.Date rangeStartDateTime,
java.util.Date rangeFinishDateTime)
This is passed a mboSet of assignments and a datetime range.
|
java.lang.Double |
getHeading() |
java.util.Date |
getLastUpdate() |
java.lang.Double |
getLatitudeY()
Return a double value with the the Latitude (or Y) coordinate of the current entitty.
|
java.lang.Double |
getLocationAccuracy() |
java.lang.Double |
getLongitudeX()
Return a double value with the the Longitude (or X) coordinate of the current entitty.
|
java.util.Date[] |
getServerDateColumn() |
java.util.Date |
getServerDTFromClientDT(java.util.Date clientDateTime,
java.util.GregorianCalendar scratchCal)
Generates a datetime in the server time zone from a datetime in the client time
zone using the MXFormat datetime/string methods.
|
SiteAuth |
getSiteUserForLabor()
This method gets SiteUser object for the labor
|
java.lang.Double |
getSpeed() |
java.lang.String |
getStatusListName()
Return the string "LABORSTATUS".
|
java.lang.String |
getUserNameForLabor()
This method gets user name for the labor from the maxusergroup object.
|
java.util.Date |
getWPEndDateTime(MboRemote WorkTimeMbo,
java.util.Date wpStartDateTime,
java.util.GregorianCalendar scratchCal,
AvailCalc availCalc)
Gets the end datetime for the workperiod.
|
java.lang.Boolean |
hasCoords()
Check if this autolocatable object has coordinates filled (LAT,LONG)
|
void |
init()
Initailzation rountine.
|
boolean |
isGISDataReadonly()
Indicate if the current GIS entity is editable or not.
|
void |
saveGISData(java.lang.String address,
java.lang.String lat,
java.lang.String lng)
The address here is not saved as this will be writing out to LBSLocation table which
does not contain an address.
|
void |
saveLBSData(java.lang.Double lat,
java.lang.Double lng,
java.lang.Double locationAccuracy,
java.lang.Double altitudeAccuracy,
java.lang.Double altitude,
java.lang.Double heading,
java.lang.Double speed) |
void |
setServerDateColumn(java.util.Date[] newServerDateColumn) |
void |
setWorkHrs(java.util.Date DayOneClientDate)
Sets the available hours for the 7 dayN attributes (all non-persistent).
|
void |
updateCalendar()
Method to update the PersonCal record associated with this labor
using the non persistent fields calnum and shiftnum.
|
void |
zeroYTD(boolean bReported,
boolean bOvertime,
boolean bOTRefused)
Zeros the selected YTD Fields for either the Current Query
(append sWhere) or the Current Record (append the key field)
Author:
Ramadevi Bhogadi
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
public java.util.Date[] serverDateColumn
public boolean AMGridCreated
public boolean availabilityDataCalculated
public Labor(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void init() throws MXException
init
in class Mbo
MXException
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXException
- will throw this exception if it can't be deletedjava.rmi.RemoteException
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
accessModifier
- The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXException,RemoteException
MXException
java.rmi.RemoteException
Mbo.delete(long)
public void add() throws MXException, java.rmi.RemoteException
Attribute Name | Attribute Value |
---|---|
status | Translated value of ACTIVE. |
orgid | Get Insert Org. |
reportedhrs | 0.0 |
ytdothrs | 0.0 |
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
#getLaborAcctDefaults
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
java.rmi.RemoteException
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate
in interface MboRemote
duplicate
in class Mbo
MXException
java.rmi.RemoteException
skipCopyField(psdi.mbo.MboValueInfo)
public void generateAutoKey() throws MXException, java.rmi.RemoteException
generateAutoKey
in interface MboRemote
generateAutoKey
in class Mbo
MXException
java.rmi.RemoteException
MboValue.autoKey()
,
MboValue.generateUniqueID()
public void zeroYTD(boolean bReported, boolean bOvertime, boolean bOTRefused) throws MXException, java.rmi.RemoteException
zeroYTD
in interface LaborRemote
MXException
java.rmi.RemoteException
public void associateLoc(java.lang.String loc) throws MXException, java.rmi.RemoteException
associateLoc
in interface LaborRemote
MXException
java.rmi.RemoteException
public SiteAuth getSiteUserForLabor() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getUserNameForLabor() throws MXException, java.rmi.RemoteException
getUserNameForLabor
in interface LaborRemote
MXException
java.rmi.RemoteException
public java.lang.String getStatusListName()
getStatusListName
in interface StatefulMboRemote
getStatusListName
in class StatefulMbo
public void changeStatus(java.lang.String newStatus, java.util.Date date, java.lang.String memo) throws MXException, java.rmi.RemoteException
changeStatus
in interface StatefulMboRemote
changeStatus
in class StatefulMbo
newStatus
- The new desired status. This is the translated status
(that is, the status code as it would have been entered by a user, or
valuelist.value
), not
the internal status value (valuelist.maxvalue
).date
- The effective date of the new status (java.util.Date
).memo
- A string briefly describing the circumstances of the change. The
memo can be null.MXException
- Thrown if there is a problem, or the status cannot be changed,
as determined by canChangeStatus(String)
.java.rmi.RemoteException
StatefulMbo.changeStatus(String,java.util.Date,String,long)
public java.util.Date[] getServerDateColumn() throws MXException, java.rmi.RemoteException
getServerDateColumn
in interface LaborRemote
MXException
java.rmi.RemoteException
public void setServerDateColumn(java.util.Date[] newServerDateColumn) throws MXException, java.rmi.RemoteException
setServerDateColumn
in interface LaborRemote
MXException
java.rmi.RemoteException
public void setWorkHrs(java.util.Date DayOneClientDate) throws MXException, java.rmi.RemoteException
setWorkHrs
in interface LaborRemote
MXException
java.rmi.RemoteException
public java.util.Date getServerDTFromClientDT(java.util.Date clientDateTime, java.util.GregorianCalendar scratchCal) throws MXException, java.rmi.RemoteException
getServerDTFromClientDT
in interface LaborRemote
MXException
java.rmi.RemoteException
public java.util.Date getClientDTFromServerDT(java.util.Date serverDateTime, java.util.GregorianCalendar scratchCal) throws MXException, java.rmi.RemoteException
getClientDTFromServerDT
in interface LaborRemote
MXException
java.rmi.RemoteException
public java.util.Date getWPEndDateTime(MboRemote WorkTimeMbo, java.util.Date wpStartDateTime, java.util.GregorianCalendar scratchCal, AvailCalc availCalc) throws MXException, java.rmi.RemoteException
getWPEndDateTime
in interface LaborRemote
MXException
java.rmi.RemoteException
public MboSetRemote getDayNAssignmentSet(MboRemote theLaborMbo, java.util.Date wpStartDateTime, java.util.Date wpEndDateTime) throws MXException, java.rmi.RemoteException
getDayNAssignmentSet
in interface LaborRemote
MXException
java.rmi.RemoteException
public double getAssignedHours(boolean insideCurrentDateWorkingTime, java.util.Date rangeStartDateTime, java.util.Date rangeFinishDateTime, MboSetRemote dayNAssignmentSet) throws MXException, java.rmi.RemoteException
getAssignedHours
in interface LaborRemote
MXException
java.rmi.RemoteException
public java.util.Date getEarliestUnassignedDateTime(MboSetRemote dayNAssignmentSet, java.util.Date rangeStartDateTime, java.util.Date rangeFinishDateTime) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkCalendarAndShift() throws MXException, java.rmi.RemoteException
checkCalendarAndShift
in interface LaborRemote
MXException
java.rmi.RemoteException
public void updateCalendar() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void calculateAvailabilityData() throws MXException, java.rmi.RemoteException
calculateAvailabilityData
in interface LaborRemote
MXException
java.rmi.RemoteException
public java.lang.Boolean hasCoords() throws MXException, java.rmi.RemoteException
GISable
hasCoords
in interface GISable
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.lang.Double getLatitudeY() throws MXException, java.rmi.RemoteException
GISable
getLatitudeY
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.Double getLongitudeX() throws MXException, java.rmi.RemoteException
GISable
getLongitudeX
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.String getAddressString() throws MXException, java.rmi.RemoteException
getAddressString
in interface GISable
MXException
java.rmi.RemoteException
public boolean isGISDataReadonly() throws MXException, java.rmi.RemoteException
GISable
isGISDataReadonly
in interface GISable
MXException
java.rmi.RemoteException
public void saveGISData(java.lang.String address, java.lang.String lat, java.lang.String lng) throws MXException, java.rmi.RemoteException
saveGISData
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.Double getLocationAccuracy() throws MXException, java.rmi.RemoteException
getLocationAccuracy
in interface LBS
MXException
java.rmi.RemoteException
public java.lang.Double getAltitude() throws MXException, java.rmi.RemoteException
getAltitude
in interface LBS
MXException
java.rmi.RemoteException
public java.lang.Double getAltitudeAccuracy() throws MXException, java.rmi.RemoteException
getAltitudeAccuracy
in interface LBS
MXException
java.rmi.RemoteException
public java.lang.Double getHeading() throws MXException, java.rmi.RemoteException
getHeading
in interface LBS
MXException
java.rmi.RemoteException
public java.util.Date getLastUpdate() throws MXException, java.rmi.RemoteException
getLastUpdate
in interface LBS
MXException
java.rmi.RemoteException
public java.lang.Double getSpeed() throws MXException, java.rmi.RemoteException
getSpeed
in interface LBS
MXException
java.rmi.RemoteException
public void saveLBSData(java.lang.Double lat, java.lang.Double lng, java.lang.Double locationAccuracy, java.lang.Double altitudeAccuracy, java.lang.Double altitude, java.lang.Double heading, java.lang.Double speed) throws MXException, java.rmi.RemoteException
saveLBSData
in interface LBS
MXException
java.rmi.RemoteException