Added new exceptions type. Check if bitmap is not created. Modified tests.