org.apache.mina.example.haiku
Class InvalidHaikuException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.mina.example.haiku.InvalidHaikuException
All Implemented Interfaces:
java.io.Serializable

public class InvalidHaikuException
extends java.lang.Exception

Author:
Apache MINA Project
See Also:
Serialized Form

Constructor Summary
InvalidHaikuException(int position, java.lang.String phrase, int syllableCount, int expectedSyllableCount)
           
 
Method Summary
 int getExpectedSyllableCount()
           
 java.lang.String getPhrase()
           
 int getPhrasePosition()
           
 int getSyllableCount()
           
 
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

InvalidHaikuException

public InvalidHaikuException(int position,
                             java.lang.String phrase,
                             int syllableCount,
                             int expectedSyllableCount)
Method Detail

getExpectedSyllableCount

public int getExpectedSyllableCount()

getPhrase

public java.lang.String getPhrase()

getSyllableCount

public int getSyllableCount()

getPhrasePosition

public int getPhrasePosition()


Copyright © 2004-2011 Apache MINA Project. All Rights Reserved.