Examples of ServerError


Examples of java.rmi.ServerError

        if (orig instanceof SystemException) {
            return mapSystemException((SystemException)orig);
        }

        if (orig instanceof Error) {
            return new ServerError("Error occurred in server thread",(Error)orig);
        } else if (orig instanceof RemoteException) {
            return new ServerException("RemoteException occurred in server thread",
                                       (Exception)orig);
        } else if (orig instanceof RuntimeException) {
            throw (RuntimeException) orig;
View Full Code Here

Examples of java.rmi.ServerError

/*     */       {
/* 429 */         String msg = formatException("Unexpected Error", e);
/* 430 */         return new EJBException(msg);
/*     */       }
/*     */
/* 434 */       return new ServerError("Unexpected Error", (Error)e);
/*     */     }
/*     */
/* 440 */     if ((isLocal) && ((e instanceof RemoteException)))
/*     */     {
/* 442 */       if (this.callLogging)
View Full Code Here

Examples of java.rmi.ServerError

    public RemoteException mapSystemException(SystemException ex)
    {
        if (ex instanceof UnknownException) {
            Throwable orig = ((UnknownException)ex).originalEx;
            if (orig instanceof Error) {
                return new ServerError("Error occurred in server thread",(Error)orig);
            } else if (orig instanceof RemoteException) {
                return new ServerException("RemoteException occurred in server thread",
                    (Exception)orig);
            } else if (orig instanceof RuntimeException) {
                throw (RuntimeException) orig;
View Full Code Here

Examples of java.rmi.ServerError

        if (orig instanceof SystemException) {
            return mapSystemException((SystemException)orig);
        }

        if (orig instanceof Error) {
            return new ServerError("Error occurred in server thread",(Error)orig);
        } else if (orig instanceof RemoteException) {
            return new ServerException("RemoteException occurred in server thread",
                                       (Exception)orig);
        } else if (orig instanceof RuntimeException) {
            throw (RuntimeException) orig;
View Full Code Here

Examples of org.apache.cassandra.transport.ServerError

        if (e instanceof TransportException)
            return new ErrorMessage((TransportException)e, streamId);

        // Unexpected exception
        logger.error("Unexpected exception during request", e);
        return new ErrorMessage(new ServerError(e), streamId);
    }
View Full Code Here

Examples of org.apache.cassandra.transport.ServerError

        if (e instanceof TransportException)
            return new ErrorMessage((TransportException)e);

        // Unexpected exception
        logger.error("Unexpected exception during request", e);
        return new ErrorMessage(new ServerError(e));
    }
View Full Code Here

Examples of org.apache.cassandra.transport.ServerError

        if (e instanceof TransportException)
            return new ErrorMessage((TransportException)e);

        // Unexpected exception
        logger.error("Unexpected exception during request", e);
        return new ErrorMessage(new ServerError(e));
    }
View Full Code Here

Examples of org.apache.cassandra.transport.ServerError

        if (e instanceof TransportException)
            return new ErrorMessage((TransportException)e);

        // Unexpected exception
        logger.error("Unexpected exception during request", e);
        return new ErrorMessage(new ServerError(e));
    }
View Full Code Here

Examples of org.apache.cassandra.transport.ServerError

        if (e instanceof TransportException)
            return new ErrorMessage((TransportException)e);

        // Unexpected exception
        logger.debug("Unexpected exception during request", e);
        return new ErrorMessage(new ServerError(e));
    }
View Full Code Here

Examples of org.apache.cassandra.transport.ServerError

        // Unexpected exception
        if (unexpectedExceptionHandler == null || !unexpectedExceptionHandler.apply(e))
            logger.error("Unexpected exception during request", e);

        return new ErrorMessage(new ServerError(e), streamId);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.