org.apache.mina.example.haiku
Class InvalidHaikuException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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)
|
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 |
InvalidHaikuException
public InvalidHaikuException(int position,
java.lang.String phrase,
int syllableCount,
int expectedSyllableCount)
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.