Package com.volantis.synergetics

Examples of com.volantis.synergetics.UndeclaredThrowableException


            return (InputStream) PrivateAccessor.invoke(delegate,
                                                        "getInputStream",
                                                        new Class[]{},
                                                        new Object[]{});
        } catch (Throwable throwable) {
            throw new UndeclaredThrowableException(throwable);
        }
    }
View Full Code Here


            return (OutputStream) PrivateAccessor.invoke(delegate,
                                                         "getOutputStream",
                                                         new Class[]{},
                                                         new Object[]{});
        } catch (Throwable throwable) {
            throw new UndeclaredThrowableException(throwable);
        }
    }
View Full Code Here

            PrivateAccessor.invoke(delegate,
                                   "listen",
                                   new Class[]{int.class},
                                   new Object[]{new Integer(backlog)});
        } catch (Throwable throwable) {
            throw new UndeclaredThrowableException(throwable);
        }
    }
View Full Code Here

            return PrivateAccessor.invoke(delegate,
                                          "getOption",
                                          new Class[]{int.class},
                                          new Object[]{new Integer(optID)});
        } catch (Throwable throwable) {
            throw new UndeclaredThrowableException(throwable);
        }
    }
View Full Code Here

            PrivateAccessor.invoke(delegate,
                                   "setOption",
                                   new Class[]{int.class, Object.class},
                                   new Object[]{new Integer(optID), value});
        } catch (Throwable throwable) {
            throw new UndeclaredThrowableException(throwable);
        }
    }
View Full Code Here

            PrivateAccessor.invoke(delegate,
                                   "sendUrgentData",
                                   new Class[]{int.class},
                                   new Object[]{new Integer(data)});
        } catch (Throwable throwable) {
            throw new UndeclaredThrowableException(throwable);
        }
    }
View Full Code Here

                if (resourceURL.endsWith(".xsd")) {
                    is = super.getResourceAsStream("/tmp/mcs-config.xsd");
                } else if (resourceURL.endsWith(".xml")) {
                    is = super.getResourceAsStream("/tmp/mcs-config.xml");
                } else {
                    throw new UndeclaredThrowableException(
                            new Exception("Cannot handle resourceURL: " +
                            resourceURL));
                }

                return is;
View Full Code Here

        try {
            MarinerApplication application =
                    MarinerServletApplication.getInstance(getServletContext());
            return ApplicationInternals.getVolantisBean(application);
        } catch (ServletException e) {
            throw new UndeclaredThrowableException(e);
        }
    }
View Full Code Here

                    out.close();

                    super.javaToNative(out.toByteArray(), transferData);

                } catch (IOException e) {
                    throw new UndeclaredThrowableException(e);
                }
            }
        }
    }
View Full Code Here

                try {
                    ObjectInputStream ois = new ObjectInputStream(baim);
                    strings = (String[]) ois.readObject();
                } catch (IOException e) {
                    logger.error("unexpected-ioexception", e);
                    throw new UndeclaredThrowableException(e);
                } catch (ClassNotFoundException e) {
                    logger.error("unexpected-exception", e);
                    throw new UndeclaredThrowableException(e);
                }
            }
        }
        return strings;
    }
View Full Code Here

TOP

Related Classes of com.volantis.synergetics.UndeclaredThrowableException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.