Dimacs exception classes + empty lines support