Change order of parameters to exceptions.

Class is now passed first before the property name.