Method: \u0009GenerateDiagnosticErrorPage Purpose:\u0009Helper method to output an error as a diagnostic style startup error page. Uses diagnostic notification arrays to form recommendation. Useful if you have a fundamental error that is similar to a startup check, such as licensing. Notes: Be sure to supply at least one element on the eventlog vector; the reportlog can be null or a series of strings. Note also that the eventlog should ideally have valid values that tie back to a real startup task in order to load an appropriate recommendation. Here, for example, are some licensing settings: EventLog[] eventVector = new EventLog[1]; eventVector[0].taskID = PTStartupTasks.VALIDATELICENSE.getOrdinal(); eventVector[0].taskStep = 1; eventVector[0].taskName = "ValidateLicense"; eventVector[0].platformName = Platform.getCurPlatform().getName(); eventVector[0].errorMessage = "Session License Failure"; eventVector[0].errorDescription = "You have exceeded your allowed session count on the evaluation of your license."; eventVector[0].exceptionRecommendation = "Contact BEA sales and purchase a production license."; eventVector[0].retVal = PT_STARTUP_RESULTCODES.FATAL; GenerateDiagnosticErrorPage(request, eventVector, null);
Interpreter Class | com.plumtree.uiinfrastructure.interpreter Namespace