/** * Sniffs the object to see if it is a {@link Location} or {@link Locatable}. Returns null if null or not * convertable to a location. */ public static Location locationOf(Object location) { return InternalCommonsUtils.locationOf(location); }
/** * Sniffs the object to see if it is a {@link Location} or {@link Locatable}. Returns null if null or not * convertable to a location. */ public static Location locationOf(Object location) { return InternalCommonsUtils.locationOf(location); }
/** * @param message a message (may be null) * @param location implements {@link Location} or {@link Locatable} * @param cause if not null, the root cause of the exception */ public TapestryException(String message, Object location, Throwable cause) { this(message, InternalCommonsUtils.locationOf(location), cause); }