org.apache.xpath.functions.WrongNumberArgsException.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(7.2k)|赞(0)|评价(0)|浏览(153)

本文整理了Java中org.apache.xpath.functions.WrongNumberArgsException.<init>()方法的一些代码示例,展示了WrongNumberArgsException.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WrongNumberArgsException.<init>()方法的具体详情如下:
包路径:org.apache.xpath.functions.WrongNumberArgsException
类名称:WrongNumberArgsException
方法名:<init>

WrongNumberArgsException.<init>介绍

[英]Constructor WrongNumberArgsException
[中]构造函数ErrorNumberAgsException

代码示例

代码示例来源:origin: robovm/robovm

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_ZERO_OR_ONE, null)); //"0 or 1");
  9. }

代码示例来源:origin: robovm/robovm

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createMessage(XSLTErrorResources.ER_TWO_OR_THREE, null)); //"2 or 3");
  9. }
  10. }

代码示例来源:origin: robovm/robovm

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("two", null));
  9. }

代码示例来源:origin: robovm/robovm

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("one", null));
  9. }

代码示例来源:origin: robovm/robovm

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("three", null));
  9. }

代码示例来源:origin: robovm/robovm

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createMessage(XSLTErrorResources.ER_ONE_OR_TWO, null)); //"1 or 2");
  9. }

代码示例来源:origin: robovm/robovm

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("gtone", null));
  9. }
  10. }

代码示例来源:origin: robovm/robovm

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_TWO_OR_THREE, null)); //"2 or 3");
  9. }
  10. }

代码示例来源:origin: robovm/robovm

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object. This method is meant to be overloaded
  4. * by derived classes so that the message will be as specific as possible.
  5. *
  6. * @throws WrongNumberArgsException
  7. */
  8. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  9. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("zero", null));
  10. }

代码示例来源:origin: xalan/xalan

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createMessage(XSLTErrorResources.ER_ONE_OR_TWO, null)); //"1 or 2");
  9. }

代码示例来源:origin: xalan/xalan

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("gtone", null));
  9. }
  10. }

代码示例来源:origin: xalan/xalan

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object. This method is meant to be overloaded
  4. * by derived classes so that the message will be as specific as possible.
  5. *
  6. * @throws WrongNumberArgsException
  7. */
  8. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  9. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("zero", null));
  10. }

代码示例来源:origin: xalan/xalan

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_ZERO_OR_ONE, null)); //"0 or 1");
  9. }

代码示例来源:origin: xalan/xalan

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("one", null));
  9. }

代码示例来源:origin: xalan/xalan

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createMessage(XSLTErrorResources.ER_TWO_OR_THREE, null)); //"2 or 3");
  9. }
  10. }

代码示例来源:origin: xalan/xalan

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("two", null));
  9. }

代码示例来源:origin: xalan/xalan

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("three", null));
  9. }

代码示例来源:origin: xalan/xalan

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_TWO_OR_THREE, null)); //"2 or 3");
  9. }
  10. }

代码示例来源:origin: MobiVM/robovm

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("one", null));
  9. }

代码示例来源:origin: MobiVM/robovm

  1. /**
  2. * Constructs and throws a WrongNumberArgException with the appropriate
  3. * message for this function object.
  4. *
  5. * @throws WrongNumberArgsException
  6. */
  7. protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  8. throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("gtone", null));
  9. }
  10. }

相关文章