Raise an exception when attempting to use an invalid alignment option