org.sonar.api.utils
Class SonarException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
SonarException()
          Deprecated.  
SonarException(String s)
          Deprecated.  
SonarException(String s, Throwable throwable)
          Deprecated.  
SonarException(Throwable throwable)
          Deprecated.  
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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(String s)
Deprecated. 

SonarException

public SonarException(String s,
                      Throwable throwable)
Deprecated. 

SonarException

public SonarException(Throwable throwable)
Deprecated. 


Copyright © 2009-2014 SonarSource. All Rights Reserved.