added intellij exceptions