org.biffle.cliff.pearl
Class VersionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.biffle.cliff.pearl.PearlException
                    |
                    +--org.biffle.cliff.pearl.VersionException
All Implemented Interfaces:
java.io.Serializable

public class VersionException
extends PearlException

Thrown when something goes awry in the Pearl protocol internals.

See Also:
Serialized Form

Constructor Summary
VersionException(int expectedMajor, int expectedMinor, int receivedMajor, int receivedMinor)
          Creates a new VersionException.
 
Method Summary
 int getExpectedMajor()
           
 int getExpectedMinor()
           
 int getReceivedMajor()
           
 int getReceivedMinor()
           
 
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

VersionException

public VersionException(int expectedMajor,
                        int expectedMinor,
                        int receivedMajor,
                        int receivedMinor)
Creates a new VersionException.

Method Detail

getExpectedMajor

public int getExpectedMajor()

getExpectedMinor

public int getExpectedMinor()

getReceivedMajor

public int getReceivedMajor()

getReceivedMinor

public int getReceivedMinor()