com.espertech.esper.epl.core
Class StreamTypesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.espertech.esper.epl.core.StreamTypesException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DuplicatePropertyException, PropertyNotFoundException, StreamNotFoundException

public abstract class StreamTypesException
extends java.lang.Exception

Base class for stream and property name resolution errors.

See Also:
Serialized Form

Constructor Summary
StreamTypesException(java.lang.String message, Pair<java.lang.Integer,java.lang.String> suggestion)
          Ctor.
 
Method Summary
 Pair<java.lang.Integer,java.lang.String> getOptionalSuggestion()
          Returns the optional suggestion for a matching name.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StreamTypesException

public StreamTypesException(java.lang.String message,
                            Pair<java.lang.Integer,java.lang.String> suggestion)
Ctor.

Parameters:
message - - message
suggestion - - optional suggestion for a matching name
Method Detail

getOptionalSuggestion

public Pair<java.lang.Integer,java.lang.String> getOptionalSuggestion()
Returns the optional suggestion for a matching name.

Returns:
suggested match

© 2006-2011 EsperTech Inc.
All rights reserved.
Visit us at espertech.com