Package org.eclipse.wst.xml.xpath2.processor.internal


org.eclipse.wst.xml.xpath2.processor.internal
Class TypeError



public class TypeError
extends org.eclipse.wst.xml.xpath2.processor.XPathException
Error caused by bad types.

Constructor Summary

TypeError(java.lang.String code , java.lang.String err)

Method Summary

public static org.eclipse.wst.xml.xpath2.processor.internal.TypeErrorci_not_node(java.lang.String err)
     "Factory" for building errors
public java.lang.Stringcode()
     Get the error code.
public static org.eclipse.wst.xml.xpath2.processor.internal.TypeErrorinvalid_type(java.lang.String err)
     "Factory" for building errors
public static org.eclipse.wst.xml.xpath2.processor.internal.TypeErrormixed_vals(java.lang.String err)
     "Factory" for building errors
public static org.eclipse.wst.xml.xpath2.processor.internal.TypeErrorstep_conatins_atoms(java.lang.String err)
     "Factory" for building errors

Constructor Detail

TypeError

public TypeError(java.lang.String code , java.lang.String err)

Constructor for type error.


Methods Detail

ci_not_node

public org.eclipse.wst.xml.xpath2.processor.internal.TypeError ci_not_node(java.lang.String err)

"Factory" for building errors

Parameters

err - is the reason for the error.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.TypeError - the error.


code

public java.lang.String code()

Get the error code.

Returns

java.lang.String - The error code.


invalid_type

public org.eclipse.wst.xml.xpath2.processor.internal.TypeError invalid_type(java.lang.String err)

"Factory" for building errors

Parameters

err - is the reason for the error.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.TypeError - the error.


mixed_vals

public org.eclipse.wst.xml.xpath2.processor.internal.TypeError mixed_vals(java.lang.String err)

"Factory" for building errors

Parameters

err - is the reason for the error.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.TypeError - the error.


step_conatins_atoms

public org.eclipse.wst.xml.xpath2.processor.internal.TypeError step_conatins_atoms(java.lang.String err)

"Factory" for building errors

Parameters

err - is the reason for the error.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.TypeError - the error.