Class TribbleException

    • Constructor Detail

      • TribbleException

        public TribbleException​(String msg)
      • TribbleException

        public TribbleException​(String message,
                                Throwable throwable)
    • Method Detail

      • setSource

        public void setSource​(String source)
        set the source for the file; where we got lines from
        Parameters:
        source - the source location, usually a file though it could be a http link or other source
      • getMessage

        public String getMessage()
        override the default message with ours, which attaches the source file in question
        Overrides:
        getMessage in class Throwable
        Returns:
        a string with our internal error, along with the causitive source file (or other input source)