Package org.apache.axis2

Examples of org.apache.axis2.AxisFault


      } else {
        return "" + new Long(-26);
      }
    } catch (Exception err) {
      log.error("setUserObjectWithAndGenerateRoomHash", err);
      throw new AxisFault(err.getMessage());
    }
    return "" + new Long(-1);
  }
View Full Code Here


      } else {
        return new Long(-26);
      }
    } catch (Exception err) {
      log.error("setUserObject", err);
      throw new AxisFault(err.getMessage());
    }
  }
View Full Code Here

      } else {
        return new Long(-26);
      }
    } catch (Exception err) {
      log.error("setUserObject", err);
      throw new AxisFault(err.getMessage());
    }
  }
View Full Code Here

        return new Long(-26);
      }

    } catch (Exception err) {
      log.error("addNewUserWithExternalType", err);
      throw new AxisFault(err.getMessage());
    }
  }
View Full Code Here

            if (!synCtx.getFaultStack().isEmpty()) {
                ((FaultHandler) synCtx.getFaultStack().pop()).handleFault(synCtx, syne);
            } else {
                log.error("Synapse encountered an exception, " +
                        "No error handlers found.\n" + syne.getMessage());
                throw new AxisFault("Synapse encountered an error." + syne);
            }
        }

        // general case should let the message flow
        return InvocationResponse.CONTINUE;
View Full Code Here

            }
        }
        catch (ProtocolException ex) {
            log.error("Protocol error: " + ex.getMessage() + " [pri=" + facility + "." +
                    severity + " tag=" + tag + " pid=" + pid + "]");
            throw new AxisFault("Protocol error", ex);
        }
        catch (IOException ex) {
            throw new AxisFault("I/O error", ex);
        }
       
        OMFactory factory = new OMLinkedListImplFactory();
        OMElement message = factory.createOMElement(SyslogConstants.MESSAGE);
        message.addAttribute(factory.createOMAttribute(SyslogConstants.FACILITY, null, facility));
View Full Code Here

            messageContext.setProperty(NhttpConstants.FAULTS_AS_HTTP_200, NhttpConstants.TRUE);

        } catch (IOException e) {
            String msg = "Unable to create the HessianDataSource";
            log.error(msg, e);
            throw new AxisFault(msg, e);
        }

        if (log.isDebugEnabled()) {
            log.debug("Building the hessian message using HessianDataSource is successful");
        }
View Full Code Here

            }
        } else {
            String message = "Couldn't find the Service for the associated message with id "
                    + messageContext.getMessageID();
            log.error(message);
            throw new AxisFault(message);
        }
        return true;
    }
View Full Code Here

            }
        } else {
            String message = "Couldn't find the Service for the associated message with id "
                    + messageContext.getMessageID();
            log.error(message);
            throw new AxisFault(message);
        }
        return true;
    }
View Full Code Here

     * @return Hessian binary bytes of the message
     *
     * @throws AxisFault for any invocation
     */
    public byte[] getBytes(MessageContext msgCtxt, OMOutputFormat format) throws AxisFault {
        throw new AxisFault("Method not supported. Use the "
                + "HessianMessageFormatter#writeTo method instead");
    }
View Full Code Here

TOP

Related Classes of org.apache.axis2.AxisFault

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.