com.android.tools.lint.client.api
Class CircularDependencyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.android.tools.lint.client.api.CircularDependencyException
All Implemented Interfaces:
java.io.Serializable

@Beta
public class CircularDependencyException
extends java.lang.RuntimeException

Exception thrown when there is a circular dependency, such as a circular dependency of library mProject references

NOTE: This is not a public or final API; if you rely on this be prepared to adjust your code for the next tools release.

See Also:
Serialized Form

Method Summary
 Location getLocation()
          Returns the associated location, if any
 Project getProject()
          Returns the associated project, if any
 void setLocation(Location location)
          Sets the associated location, if any
 void setProject(Project project)
          Sets the associated project, if any
 
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
 

Method Detail

getProject

@Nullable
public Project getProject()
Returns the associated project, if any

Returns:
the associated project, if any

setProject

public void setProject(@Nullable
                       Project project)
Sets the associated project, if any

Parameters:
project - the associated project, if any

getLocation

@Nullable
public Location getLocation()
Returns the associated location, if any

Returns:
the associated location, if any

setLocation

public void setLocation(@Nullable
                        Location location)
Sets the associated location, if any

Parameters:
location - the associated location, if any