/** * Returns the underlying cause. */ public Throwable getCause() { return getRootCause(); } }
protected IOException error(String message) { if (_method != null) return new HessianProtocolException(_method + ": " + message); else return new HessianProtocolException(message); }
protected IOException error(String message) { if (_method != null) return new HessianProtocolException(_method + ": " + message); else return new HessianProtocolException(message); }
/** * Returns the underlying cause. */ public Throwable getCause() { return getRootCause(); } }
protected IOException error(String message) { if (_method != null) return new HessianProtocolException(_method + ": " + message); else return new HessianProtocolException(message); }
/** * Returns the underlying cause. */ public Throwable getCause() { return getRootCause(); } }
protected IOException error(String message) { if (_method != null) return new HessianProtocolException(_method + ": " + message); else return new HessianProtocolException(message); }
/** * Returns the underlying cause. */ public Throwable getCause() { return getRootCause(); } }
protected IOException error(String message) { if (_method != null) return new HessianProtocolException(_method + ": " + message); else return new HessianProtocolException(message); }
/** * Utility method to get exception cause. Implements special handling of Hessian * exceptions. */ Throwable unwindThrowable(Throwable th) { if (th instanceof HessianProtocolException) { Throwable cause = ((HessianProtocolException) th).getRootCause(); if (cause != null) { return unwindThrowable(cause); } } else if (th instanceof HessianRuntimeException) { Throwable cause = ((HessianRuntimeException) th).getRootCause(); if (cause != null) { return unwindThrowable(cause); } } return Util.unwindException(th); } }
protected IOException error(String message) { if (_method != null) return new HessianProtocolException(_method + ": " + message); else return new HessianProtocolException(message); }
/** * Utility method to get exception cause. Implements special handling of Hessian * exceptions. */ Throwable unwindThrowable(Throwable th) { if (th instanceof HessianProtocolException) { Throwable cause = ((HessianProtocolException) th).getRootCause(); if (cause != null) { return unwindThrowable(cause); } } else if (th instanceof HessianRuntimeException) { Throwable cause = ((HessianRuntimeException) th).getRootCause(); if (cause != null) { return unwindThrowable(cause); } } return Util.unwindException(th); } }
protected IOException error(String message) { if (_method != null) return new HessianProtocolException(_method + ": " + message); else return new HessianProtocolException(message); }
protected IOException error(String message) { if (_method != null) return new HessianProtocolException(_method + ": " + message); else return new HessianProtocolException(message); }
protected HessianProtocolException error(String msg) { return new HessianProtocolException(msg); }
protected HessianProtocolException error(String msg) { return new HessianProtocolException(msg); }
protected HessianProtocolException error(String msg) { return new HessianProtocolException(msg); }
protected HessianProtocolException error(String msg) { return new HessianProtocolException(msg); }
protected Object instantiate() throws Exception { try { if (_constructor != null) return _constructor.newInstance(_constructorArgs); else return _type.newInstance(); } catch (Exception e) { throw new HessianProtocolException("'" + _type.getName() + "' could not be instantiated", e); } }
protected Object instantiate() throws Exception { try { if (_constructor != null) return _constructor.newInstance(_constructorArgs); else return _type.newInstance(); } catch (Exception e) { throw new HessianProtocolException("'" + _type.getName() + "' could not be instantiated", e); } }