org.marketcetera.client
Class IncompatibleComponentsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.marketcetera.util.except.I18NException
              extended by org.marketcetera.client.IncompatibleComponentsException
All Implemented Interfaces:
Serializable, I18NThrowable

public class IncompatibleComponentsException
extends I18NException

Represents errors encountered by the client when communicating with an incompatible server.

Since:
2.1.0
Version:
$Id: IncompatibleComponentsException.java 16154 2012-07-14 16:34:05Z colin $
Author:
tlerios@marketcetera.com
See Also:
Serialized Form

Constructor Summary
IncompatibleComponentsException(I18NBoundMessage message, String serverVersion)
          Constructs a new exception with the given message and referring to a server with the given version.
 
Method Summary
 String getServerVersion()
          Returns the receiver's server version.
 
Methods inherited from class org.marketcetera.util.except.I18NException
equals, getDetail, getI18NBoundMessage, getLocalizedDetail, getLocalizedMessage, hashCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.marketcetera.util.except.I18NThrowable
getCause, getMessage
 

Constructor Detail

IncompatibleComponentsException

public IncompatibleComponentsException(I18NBoundMessage message,
                                       String serverVersion)
Constructs a new exception with the given message and referring to a server with the given version.

Parameters:
message - The message.
serverVersion - The version.
Method Detail

getServerVersion

public String getServerVersion()
Returns the receiver's server version.

Returns:
The version.


Copyright © 2012. All Rights Reserved.