Examples of UnacceptableInitialTerminationTimeFault


Examples of org.apache.servicemix.wsn.jaxws.UnacceptableInitialTerminationTimeFault

    protected XMLGregorianCalendar validateInitialTerminationTime(String value)
        throws UnacceptableInitialTerminationTimeFault {
        XMLGregorianCalendar tt = parseTerminationTime(value);
        if (tt == null) {
            UnacceptableInitialTerminationTimeFaultType fault = new UnacceptableInitialTerminationTimeFaultType();
            throw new UnacceptableInitialTerminationTimeFault("Unable to parse initial termination time: '" + value
                    + "'", fault);
        }
        XMLGregorianCalendar ct = getCurrentTime();
        int c = tt.compare(ct);
        if (c == DatatypeConstants.LESSER || c == DatatypeConstants.EQUAL) {
            UnacceptableInitialTerminationTimeFaultType fault = new UnacceptableInitialTerminationTimeFaultType();
            fault.setMinimumTime(ct);
            throw new UnacceptableInitialTerminationTimeFault("Invalid initial termination time", fault);
        }
        return tt;
    }
View Full Code Here

Examples of org.apache.servicemix.wsn.jaxws.UnacceptableInitialTerminationTimeFault

            throw new InvalidMessageContentExpressionFault("Unsupported MessageContent dialect: '"
                    + contentFilter.getDialect() + "'", fault);
        }
        if (terminationTime != null) {
            UnacceptableInitialTerminationTimeFaultType fault = new UnacceptableInitialTerminationTimeFaultType();
            throw new UnacceptableInitialTerminationTimeFault("InitialTerminationTime is not supported", fault);
        }
    }
View Full Code Here

Examples of org.apache.servicemix.wsn.jaxws.UnacceptableInitialTerminationTimeFault

   
    protected XMLGregorianCalendar validateInitialTerminationTime(String value) throws UnacceptableInitialTerminationTimeFault {
      XMLGregorianCalendar tt = parseTerminationTime(value);
      if (tt == null) {
        UnacceptableInitialTerminationTimeFaultType fault = new UnacceptableInitialTerminationTimeFaultType();
          throw new UnacceptableInitialTerminationTimeFault(
              "Unable to parse initial termination time: '" + value + "'",
              fault);
      }
      XMLGregorianCalendar ct = getCurrentTime();
      int c = tt.compare(ct);
      if (c == DatatypeConstants.LESSER || c == DatatypeConstants.EQUAL) {
        UnacceptableInitialTerminationTimeFaultType fault = new UnacceptableInitialTerminationTimeFaultType();
          fault.setMinimumTime(ct);
          throw new UnacceptableInitialTerminationTimeFault(
              "Invalid initial termination time",
              fault);
      }
      return tt;
    }
View Full Code Here

Examples of org.apache.servicemix.wsn.jaxws.UnacceptableInitialTerminationTimeFault

      InvalidMessageContentExpressionFaultType fault = new InvalidMessageContentExpressionFaultType();
      throw new InvalidMessageContentExpressionFault("Unsupported MessageContent dialect: '" + contentFilter.getDialect() + "'", fault);
    }
    if (terminationTime != null) {
      UnacceptableInitialTerminationTimeFaultType fault = new UnacceptableInitialTerminationTimeFaultType();
        throw new UnacceptableInitialTerminationTimeFault(
            "InitialTerminationTime is not supported",
            fault);
    }
  }
View Full Code Here

Examples of org.oasis_open.docs.wsn.bw_2.UnacceptableInitialTerminationTimeFault

        throws UnacceptableInitialTerminationTimeFault {
        XMLGregorianCalendar tt = parseTerminationTime(value);
        if (tt == null) {
            UnacceptableInitialTerminationTimeFaultType fault
                = new UnacceptableInitialTerminationTimeFaultType();
            throw new UnacceptableInitialTerminationTimeFault("Unable to parse initial termination time: '"
                + value + "'", fault);
        }
        XMLGregorianCalendar ct = getCurrentTime();
        int c = tt.compare(ct);
        if (c == DatatypeConstants.LESSER || c == DatatypeConstants.EQUAL) {
            UnacceptableInitialTerminationTimeFaultType fault
                = new UnacceptableInitialTerminationTimeFaultType();
            fault.setMinimumTime(ct);
            throw new UnacceptableInitialTerminationTimeFault("Invalid initial termination time", fault);
        }
        return tt;
    }
View Full Code Here

Examples of org.oasis_open.docs.wsn.bw_2.UnacceptableInitialTerminationTimeFault

                    + contentFilter.getDialect() + "'", fault);
        }
        if (terminationTime != null) {
            UnacceptableInitialTerminationTimeFaultType fault
                = new UnacceptableInitialTerminationTimeFaultType();
            throw new UnacceptableInitialTerminationTimeFault("InitialTerminationTime is not supported",
                                                              fault);
        }
    }
View Full Code Here

Examples of org.oasis_open.docs.wsn.bw_2.UnacceptableInitialTerminationTimeFault

        throws UnacceptableInitialTerminationTimeFault {
        XMLGregorianCalendar tt = parseTerminationTime(value);
        if (tt == null) {
            UnacceptableInitialTerminationTimeFaultType fault
                = new UnacceptableInitialTerminationTimeFaultType();
            throw new UnacceptableInitialTerminationTimeFault("Unable to parse initial termination time: '"
                + value + "'", fault);
        }
        XMLGregorianCalendar ct = getCurrentTime();
        int c = tt.compare(ct);
        if (c == DatatypeConstants.LESSER || c == DatatypeConstants.EQUAL) {
            UnacceptableInitialTerminationTimeFaultType fault
                = new UnacceptableInitialTerminationTimeFaultType();
            fault.setMinimumTime(ct);
            throw new UnacceptableInitialTerminationTimeFault("Invalid initial termination time", fault);
        }
        return tt;
    }
View Full Code Here

Examples of org.oasis_open.docs.wsn.bw_2.UnacceptableInitialTerminationTimeFault

                    + contentFilter.getDialect() + "'", fault);
        }
        if (terminationTime != null) {
            UnacceptableInitialTerminationTimeFaultType fault
                = new UnacceptableInitialTerminationTimeFaultType();
            throw new UnacceptableInitialTerminationTimeFault("InitialTerminationTime is not supported",
                                                              fault);
        }
    }
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.