return 0 by default for exception conversion