throws clause
Java
A clause in a method header indicating that one or more exceptions will be propagated from this method. For instance
public int find(String s) throws NotFoundException
A clause in a method header indicating that one or more exceptions will be propagated from this method. For instance
public int find(String s) throws NotFoundException