if (!isViewSupported(parent))
throw new IllegalArgumentException("Parent view " + parent + "is not supported.");
if (!isModelSupported(context))
throw new IllegalArgumentException("Model context " + context + "is not supported.");
if (!isViewSupported(parent))
throw new IllegalArgumentException("Parent view " + parent + "is not supported.");
if (!isModelSupported(context))
throw new IllegalArgumentException("Model context " + context + "is not supported.");