Interface ExceptionData
-
- All Known Implementing Classes:
AccessDeniedGlobalPrivilegeMissingException,BaseSchedulerException,CallbackException,ConstraintViolatedException,CredentialWithoutEndpointException,DateFormatException,ExportException,FileParameterInvalidTypeException,FileParameterMissingTypeException,FileParameterSourceUnavailableException,FileParameterValueNotFoundRuntimeException,FileParameterValueRuntimeException,GeneralJobFileRemoteException,GeneralListDirectoryRemoteException,InitialParticipantNotInListException,InvalidContentTypeException,InvalidDateFormatUnknownLocale,InvalidFormatException,InvalidOperatorMessageReplyException,InvalidSearchException,JobFileContentAccessDeniedException,JobFileEncryptionException,com.redwood.scheduler.api.exception.JobFileException,JobFileNotYetPersistedException,JobFileRemoteException,JobFileRemoteTransientException,com.redwood.scheduler.api.exception.JobFileTransientException,com.redwood.scheduler.api.exception.ListDirectoryException,ListDirectoryRemoteException,ListDirectoryRemoteTransientException,com.redwood.scheduler.api.exception.ListDirectoryTransientException,MailAbortRuntimeException,ObjectSearchExpiredException,com.redwood.scheduler.api.exception.PerformRFCActionException,com.redwood.scheduler.api.exception.PerformRFCActionPasswordExpiredException,PerformRFCActionRemoteException,PerformRFCActionRemotePasswordExpiredException,PerformRFCActionRemoteTransientException,com.redwood.scheduler.api.exception.PerformRFCActionTransientException,R2WPublishException,RemoteLoginFailedException,com.redwood.scheduler.api.exception.SchedulerAPIException,SchedulerAPIMissingException,com.redwood.scheduler.api.exception.SchedulerAPIUnavailableException,SchedulerCustomException,SchedulerCustomLowLevelException,SchedulerCustomLowLevelRuntimeException,SchedulerCustomRuntimeException,SchedulerException,SchedulerRuntimeException,TooManyJobGroupsToForecastException,com.redwood.scheduler.api.exception.UserMessageAttachmentException,UserMessageAttachmentUnknownException,UserMessageAttachmentVetoException,UserMessageInitialParticipantException,UserMessageNotFoundException,UserMessageOperationException
public interface ExceptionDataProvide access to the data in an exception for internationalization.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanbestException()Is this exception the best exception for the purposes of the UI? Exceptions implementing this _MUST_ make sure that they display all or more information than their causes.StringgetDefaultMessageFormat()Get the default (US English) message format.StringgetErrorCode()Get the JCS error code of this exception.Object[]getExceptionData()Get the data from the exception for formatting.StringgetTranslation()Get a translation for the exception.booleanisSystemLoggable()Should this exception be logged to the system log, or only to the trace file.booleanskipException()Should this exception be skipped for the purposes of showing an exception dump to the user.
-
-
-
Method Detail
-
getExceptionData
Object[] getExceptionData()
Get the data from the exception for formatting.- Returns:
- the exception data.
-
getDefaultMessageFormat
String getDefaultMessageFormat()
Get the default (US English) message format.- Returns:
- the message format
-
getTranslation
String getTranslation()
Get a translation for the exception.- Returns:
- a translatable description of this exception.
-
isSystemLoggable
boolean isSystemLoggable()
Should this exception be logged to the system log, or only to the trace file.- Returns:
- whether this should be logged to the system log, or only to the trace file
-
skipException
boolean skipException()
Should this exception be skipped for the purposes of showing an exception dump to the user.- Returns:
- true if so, false otherwise.
-
bestException
boolean bestException()
Is this exception the best exception for the purposes of the UI? Exceptions implementing this _MUST_ make sure that they display all or more information than their causes.- Returns:
- true if so, false otherwise.
-
getErrorCode
String getErrorCode()
Get the JCS error code of this exception.- Returns:
- the JCS error code, without the leading "JCS-"
-
-