Class DebugInfoException

  • All Implemented Interfaces:
    DebugInfo

    public class DebugInfoException
    extends Object
    implements DebugInfo
    Exception debug information.
    • Constructor Detail

      • DebugInfoException

        public DebugInfoException​(Exception exception,
                                  Locale locale)
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: DebugInfo
        Gets the name of this debug information part, useful as title.
        Specified by:
        getName in interface DebugInfo
        Returns:
        the name
      • appendJson

        public void appendJson​(JsonStreamWriter jsonStreamWriter)
                        throws IOException
        Description copied from interface: DebugInfo
        Appends the content of this debug information part to the given JSON stream writer.
        Specified by:
        appendJson in interface DebugInfo
        Parameters:
        jsonStreamWriter - a JSON stream writer
        Throws:
        IOException - Caso ocorra exceção
      • appendHtml

        public void appendHtml​(Writer writer)
                        throws IOException
        Description copied from interface: DebugInfo
        Appends the content of this debug information part to the given writer.
        Specified by:
        appendHtml in interface DebugInfo
        Parameters:
        writer - a Writer
        Throws:
        IOException - Caso ocorra exceção