|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.google.i18n.phonenumbers.NumberParseException
public class NumberParseException
Generic exception class for errors encountered when parsing phone numbers.
Nested Class Summary | |
---|---|
static class |
NumberParseException.ErrorType
|
Constructor Summary | |
---|---|
NumberParseException(NumberParseException.ErrorType errorType,
java.lang.String message)
|
Method Summary | |
---|---|
NumberParseException.ErrorType |
getErrorType()
Returns the error type of the exception that has been thrown. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NumberParseException(NumberParseException.ErrorType errorType, java.lang.String message)
Method Detail |
---|
public NumberParseException.ErrorType getErrorType()
public java.lang.String toString()
toString
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |