public static Envelope fromWKT(final CharSequence wkt) throws FactoryException {
ensureNonNull("wkt", wkt);
try {
return new GeneralEnvelope(wkt);
} catch (IllegalArgumentException e) {
throw new FactoryException(Errors.format(
Errors.Keys.UnparsableStringForClass_2, Envelope.class), e);
}
}