com.google.i18n.phonenumbers
Class NumberParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.i18n.phonenumbers.NumberParseException
- All Implemented Interfaces:
- Serializable
public class NumberParseException
- extends Exception
Generic exception class for errors encountered when parsing phone numbers.
- Author:
- Lara Rennie
- See Also:
- Serialized Form
NumberParseException
public NumberParseException(NumberParseException.ErrorType errorType,
String message)
getErrorType
public NumberParseException.ErrorType getErrorType()
- Returns the error type of the exception that has been thrown.
toString
public String toString()
- Overrides:
toString
in class Throwable
Copyright © 2012 Google. All Rights Reserved.