Class SonarException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CyclicDependenciesException

    @Deprecated
    public class SonarException
    extends java.lang.RuntimeException
    Deprecated.
    in 4.4. Use standard exceptions like IllegalArgumentException or IllegalStateException. Use MessageException for raising errors to end-users without displaying stackstrace.
    Because we don't like checked exceptions !
    Since:
    1.10
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SonarException()
      Deprecated.
       
      SonarException​(java.lang.String s)
      Deprecated.
       
      SonarException​(java.lang.String s, java.lang.Throwable throwable)
      Deprecated.
       
      SonarException​(java.lang.Throwable throwable)
      Deprecated.
       
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

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

      • SonarException

        public SonarException()
        Deprecated.
      • SonarException

        public SonarException​(java.lang.String s)
        Deprecated.
      • SonarException

        public SonarException​(java.lang.String s,
                              java.lang.Throwable throwable)
        Deprecated.
      • SonarException

        public SonarException​(java.lang.Throwable throwable)
        Deprecated.