New class: RaisedWarning.

This object will be created upon warning in the code.
New class: RaiseError.

Object created upon error.