Package org.sonar.api.utils
Class SonarException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.sonar.api.utils.SonarException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CyclicDependenciesException
@Deprecated public class SonarException extends java.lang.RuntimeExceptionDeprecated.in 4.4. Use standard exceptions likeIllegalArgumentExceptionorIllegalStateException. UseMessageExceptionfor 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.
-
-
-
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.
-
-