Generic
functor interface representing a data translation (or
conversion) operation. For a given input, a Translator can translate an input argument into a potentially different
output value.
One example of where this is particularly convenient is API translation: translating a 3rd-party framework Exception
to a Shiro Exception or vice-versa.