public class NumberParseException extends Exception
| Modifier and Type | Class and Description |
|---|---|
static class |
NumberParseException.ErrorType
The reason that a string could not be interpreted as a phone number.
|
| Constructor and Description |
|---|
NumberParseException(NumberParseException.ErrorType errorType,
String message) |
| Modifier and Type | Method and Description |
|---|---|
NumberParseException.ErrorType |
getErrorType()
Returns the error type of the exception that has been thrown.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic NumberParseException(NumberParseException.ErrorType errorType, String message)
public NumberParseException.ErrorType getErrorType()
Copyright © 2016 Google. All Rights Reserved.