[rm-users] RM error codes
Stuart_Thorn%LISSES%CARREXT@carrefour.fr
Stuart_Thorn%LISSES%CARREXT@carrefour.fr
Mon, 2 Aug 1999 15:11:22 +0200
Looking at the 1.5.3 API I see that the error codes used internally by the
api can be got from the ResourceManager as below.
I'm working with a 2.01 release and this is no longer possible.
Stuart.
-------------------
ResourceManager tResources = new ReportMartResources_en();
java.util.Enumeration tEnumeration = tResources.getIntegerKeys();
while (tEnumeration != null && tEnumeration.hasMoreElements()) {
Integer tInt = (Integer)tEnumeration.nextElement();
System.out.println(tInt + "\t" +
tResources.getString(tInt.intValue()));
}
which gives:
2600 Unable to resolve address for host name {0}
2601 Account validation failed - {0}
2602 Exception in user login process - {0}
2603 Unable to extract error information. Unknown error encountered!
2604 Null user value returned from ReportMart getUser() call
2605 unused
2606 {0}
2607 logic error - user is null
2608 ReportMart Session is disabled
2609 The following error was reported when contacting the ReportMart: {0}
2610 SetDefaultCategory error - category is null
2700 mt_csv.gif
2701 Comma separated value file
2702 mt_sps.gif
2703 PowerSQRIBE file
2704 mt_unknown.gif
2800 {0} submitted, processing time: {1} milliseconds
2801 {0} aborted, processing time: {1} milliseconds
2900 This method has not been implemented yet
3000 ReportMart Object with this ID was not found
3001 Bad parameter value for {0}
3002 Category {0} already exists
3003 Category name is empty
3004 Unknown object type encountered
3005 Object name is empty
3006 Object "{0}" not found
3007 File "{0}" is not accessible
3008 {0} File
3009 Can't replace contents for "{0}". It is not a data object
3010 User "{0}" already exists
3011 Group "{0}" not found
3012 User "{0}" not found
3013 Property "{0}" not found
3014 Could not completely remove category. Some objects remain.
3015 Exception encountered in {0}: {1}
3100 setName error - name is null
3101 setDescription error - description is null
3200 Bad parameter value for submit -- Job is required
3201 Internal error, Job type was not recognized
3202 Insufficient run-time parameters for Job execution
3300 Index out of range ({0})
3301 addElement error -- object is null
3302 addElement object must be a Data Object
3303 addElement object must be a Data Object or SPF Set