Interface ExceptionData

    • 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-"