public interface Proxy
Exceptions thrown by proxies are wrapped with a PolyglotException when the proxy is
invoked in a guest language. It is possible to unwrap the PolyglotException using
PolyglotException.asHostException().
The interfaces Proxy, ProxyArray, ProxyExecutable,
ProxyInstantiable, ProxyNativeObject, ProxyObject can be used in
combination with any other proxy interfaces.
The following proxy interface combinations are exclusive and throw an AssertionError if
used together:
AssertionError if
used:
ProxyTimeZone and ProxyDate without ProxyTime
ProxyTimeZone and ProxyTime without ProxyDate.