APIdia Launch Partner
Top Fields Constructors Methods
com.sun.org.apache.xalan.internal.xsltc.compiler.util

public Class TypeCheckError

extends Exception
Class Inheritance
Imports
com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode

Authors
Jacek Ambroziak, Santiago Pericas-Geertsen

Field Summary

Modifier and TypeField and Description
pack-priv ErrorMsg
pack-priv SyntaxTreeNode
pack-priv static final long

Constructor Summary

AccessConstructor and Description
public
public
public
public
TypeCheckError(String code, Object param1, Object param2)

Method Summary

Modifier and TypeMethod and Description
public ErrorMsg
public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

public String
toString()

Overrides java.lang.Throwable.toString.

Returns a short description of this throwable.

Field Detail

_errorback to summary
pack-priv ErrorMsg _error
Annotations
@SuppressWarnings:serial
_nodeback to summary
pack-priv SyntaxTreeNode _node
Annotations
@SuppressWarnings:serial
serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

TypeCheckErrorback to summary
public TypeCheckError(SyntaxTreeNode node)
TypeCheckErrorback to summary
public TypeCheckError(ErrorMsg error)
TypeCheckErrorback to summary
public TypeCheckError(String code, Object param)
TypeCheckErrorback to summary
public TypeCheckError(String code, Object param1, Object param2)

Method Detail

getErrorMsgback to summary
public ErrorMsg getErrorMsg()
getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

toStringback to summary
public String toString()

Overrides java.lang.Throwable.toString.

Doc from java.lang.Throwable.toString.

Returns a short description of this throwable. The result is the concatenation of:

  • the name of the class of this object
  • ": " (a colon and a space)
  • the result of invoking this object's getLocalizedMessage method
If getLocalizedMessage returns null, then just the class name is returned.