Fix missing exception
Add simple example