# TeamNotFoundException > Thrown when an operation references a team ID that does not exist. `gg.lode.leadapi.api.exception.TeamNotFoundException` --- ## Signature ```java public class TeamNotFoundException extends Throwable ``` ## Extends - `java.lang.Throwable` --- ## Constructors ### TeamNotFoundException() ```java TeamNotFoundException() ``` Creates the exception with no message. --- ## Related Pages - [[ILeadAPI]] — Methods that throw this exception: `deleteTeam(String)`