throw exception if outside of YAJOM