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:
- Serializable
- Direct Known Subclasses:
- CyclicDependenciesException, DuplicatedSourceException, XmlParserException
Deprecated. in 4.4. Use standard exceptions like IllegalArgumentException
or IllegalStateException
. Use MessageException
for raising errors to end-users without displaying stackstrace.
@Deprecated
public class SonarException
- extends RuntimeException
Because we don't like checked exceptions !
- Since:
- 1.10
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SonarException
public SonarException()
- Deprecated.
SonarException
public SonarException(String s)
- Deprecated.
SonarException
public SonarException(String s,
Throwable throwable)
- Deprecated.
SonarException
public SonarException(Throwable throwable)
- Deprecated.
Copyright © 2009-2014 SonarSource. All Rights Reserved.