com.metamatrix.api.exception.query
Class UnresolvedSymbolDescription

java.lang.Object
  extended by com.metamatrix.api.exception.query.UnresolvedSymbolDescription
All Implemented Interfaces:
java.io.Serializable

public class UnresolvedSymbolDescription
extends java.lang.Object
implements java.io.Serializable

This helper object describes an unresolved symbol found during query resolution.

See Also:
Serialized Form

Constructor Summary
UnresolvedSymbolDescription(java.lang.String symbol, java.lang.String description)
          Construct a description given the symbol and it's description.
 
Method Summary
 java.lang.String getDescription()
          Get the description of the problem
 java.lang.String getSymbol()
          Get the symbol that was unresolved
 java.lang.String toString()
          Get string representation of the unresolved symbol description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnresolvedSymbolDescription

public UnresolvedSymbolDescription(java.lang.String symbol,
                                   java.lang.String description)
Construct a description given the symbol and it's description.

Parameters:
symbol - Unresolved symbol
description - Description of error
Method Detail

getSymbol

public java.lang.String getSymbol()
Get the symbol that was unresolved

Returns:
Unresolved symbol

getDescription

public java.lang.String getDescription()
Get the description of the problem

Returns:
Problem description

toString

public java.lang.String toString()
Get string representation of the unresolved symbol description

Overrides:
toString in class java.lang.Object
Returns:
String representation


Copyright © 2009. All Rights Reserved.