Class SchedulerRuntimeException

    • Constructor Detail

      • SchedulerRuntimeException

        protected SchedulerRuntimeException​(String newErrorCode,
                                            String initMessageFormat,
                                            Throwable initCause,
                                            Object[] initExceptionDataEN,
                                            Object[] initExceptionData)
    • Method Detail

      • getExceptionData

        public Object[] getExceptionData()
        Description copied from interface: ExceptionData
        Get the data from the exception for formatting.
        Specified by:
        getExceptionData in interface ExceptionData
        Returns:
        the exception data.
      • skipException

        public boolean skipException()
        Description copied from interface: ExceptionData
        Should this exception be skipped for the purposes of showing an exception dump to the user.
        Specified by:
        skipException in interface ExceptionData
        Returns:
        true if so, false otherwise.
      • bestException

        public boolean bestException()
        Description copied from interface: ExceptionData
        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.
        Specified by:
        bestException in interface ExceptionData
        Returns:
        true if so, false otherwise.
      • isSystemLoggable

        public boolean isSystemLoggable()
        Description copied from interface: ExceptionData
        Should this exception be logged to the system log, or only to the trace file.
        Specified by:
        isSystemLoggable in interface ExceptionData
        Returns:
        whether this should be logged to the system log, or only to the trace file
      • getLocalizedMessage

        public String getLocalizedMessage​(Locale locale)
      • getTranslation

        public String getTranslation()
        Description copied from interface: ExceptionData
        Get a translation for the exception.
        Specified by:
        getTranslation in interface ExceptionData
        Returns:
        a translatable description of this exception.
      • getErrorCode

        public String getErrorCode()
        Description copied from interface: ExceptionData
        Get the JCS error code of this exception.
        Specified by:
        getErrorCode in interface ExceptionData
        Returns:
        the JCS error code, without the leading "JCS-"