public class NumberParseException
extends java.lang.Exception
| Modifier and Type | Class | Description |
|---|---|---|
static class |
NumberParseException.ErrorType |
The reason that a string could not be interpreted as a phone number.
|
| Constructor | Description |
|---|---|
NumberParseException(NumberParseException.ErrorType errorType,
java.lang.String message) |
| Modifier and Type | Method | Description |
|---|---|---|
NumberParseException.ErrorType |
getErrorType() |
Returns the error type of the exception that has been thrown.
|
java.lang.String |
toString() |
public NumberParseException(NumberParseException.ErrorType errorType, java.lang.String message)
public NumberParseException.ErrorType getErrorType()
public java.lang.String toString()
toString in class java.lang.ThrowableCopyright © 2020 Google. All Rights Reserved.