This is the root of all Jaxen exceptions. It may wrap other exceptions. See {@link #getRootCause}. @author bob mcwhirter
8788899091929394
public void assertInteger( Number number ) throws JaxenException { if( number.doubleValue() != number.intValue() ) { throw new JaxenException( number + " is not an integer" ); } }
123124125126127128129
return new DefaultNotEqualsExpr( lhs, rhs ); } } throw new JaxenException( "Unhandled operator in createEqualityExpr(): " + equalityOperator ); }
154155156157158159160
return new DefaultGreaterThanEqualExpr( lhs, rhs ); } } throw new JaxenException( "Unhandled operator in createRelationalExpr(): " + relationalOperator ); }
175176177178179180181
return new DefaultMinusExpr( lhs, rhs ); } } throw new JaxenException( "Unhandled operator in createAdditiveExpr(): " + additiveOperator ); }
201202203204205206207
return new DefaultModExpr( lhs, rhs ); } } throw new JaxenException( "Unhandled operator in createMultiplicativeExpr(): " + multiplicativeOperator ); }
259260261262263264265266267
{ return convertDefaultStep(path, (DefaultStep) step); } else { throw new JaxenException( "Cannot convert: " + step + " to a Pattern" ); } return path; }
169170171172173174175176
{ this.nodeTest = nodeTest; } else { throw new JaxenException( "Attempt to overwrite nodeTest: " + this.nodeTest + " with: " + nodeTest ); } }
174175176177178179180181182183184
{ dom4jDoc = XMLUtils.toDocument(obj, muleContext); } catch (Exception e) { throw new JaxenException(e); } // Payload is a DOM Document if (dom4jDoc != null) {
173174175176177178179180181182183
6465666768697071727374
super(name); } public void testMessageIsNonNull() { JaxenException ex = new JaxenException("Hello"); FunctionCallException rex = new FunctionCallException(ex); assertEquals(ex.getMessage(), rex.getMessage()); assertEquals(ex, rex.getCause()); }