exceptions bugfix
new exception handling + static initialization + const initialization