public ThrowableProxy(Throwable defaultInstance) { super(defaultInstance); setIncludeReadOnly(true); } }
proxy = new ThrowableProxy();
public ThrowableProxy() { super(); setIncludeReadOnly(true); }
/** * Pre-registers a few common types that are often proxied to * speed up lookups. */ private static void preRegister() { ThrowableProxy proxy = new ThrowableProxy(); registry.register(MessageException.class, proxy); registry.register(LocalizedException.class, proxy); registry.register(Throwable.class, proxy); MapProxy mapProxy = new MapProxy(); registry.register(ASObject.class, mapProxy); registry.register(HashMap.class, mapProxy); registry.register(AbstractMap.class, mapProxy); registry.register(Map.class, mapProxy); }
public ThrowableProxy() { super(); setIncludeReadOnly(true); }
/** * Pre-registers a few common types that are often proxied to * speed up lookups. */ private static void preRegister() { ThrowableProxy proxy = new ThrowableProxy(); registry.register(MessageException.class, proxy); registry.register(LocalizedException.class, proxy); registry.register(Throwable.class, proxy); MapProxy mapProxy = new MapProxy(); registry.register(ASObject.class, mapProxy); registry.register(HashMap.class, mapProxy); registry.register(AbstractMap.class, mapProxy); registry.register(Map.class, mapProxy); }
public ThrowableProxy(Throwable defaultInstance) { super(defaultInstance); setIncludeReadOnly(true); } }
/** * Pre-registers a few common types that are often proxied to * speed up lookups. */ private static void preRegister() { ThrowableProxy proxy = new ThrowableProxy(); registry.register(MessageException.class, proxy); registry.register(LocalizedException.class, proxy); registry.register(Throwable.class, proxy); MapProxy mapProxy = new MapProxy(); registry.register(ASObject.class, mapProxy); registry.register(HashMap.class, mapProxy); registry.register(AbstractMap.class, mapProxy); registry.register(Map.class, mapProxy); }