Deprecated alias methods in the exception for compatibility