Class AdaptedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AdaptedException
    extends java.lang.RuntimeException
    Adapted Exception to enable details of the cause to be provided to the CompilerIssues for an issue.
    Author:
    Daniel Sagenschneider
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AdaptedException​(java.lang.String message, java.lang.String stackTrace)
      Initiate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void printStackTrace()  
      void printStackTrace​(java.io.PrintStream stream)  
      void printStackTrace​(java.io.PrintWriter writer)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AdaptedException

        public AdaptedException​(java.lang.String message,
                                java.lang.String stackTrace)
        Initiate.
        Parameters:
        message - Message with adapted details of the cause.
        stackTrace - Stack trace to adapt.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace()
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintStream stream)
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintWriter writer)
        Overrides:
        printStackTrace in class java.lang.Throwable