class Hex implements ICodec {

    @Override
    public byte[] decode(@Nonnull final byte[] message) throws DecodingException {
        try {
            return hexCodec.decode(message);
        } catch (Exception e) {
            throw new DecodingException("Hex decoding has been failed because: " + e.getMessage(), e);
        }
    }

    private  Hex();

}