public class NumberParseException
extends java.lang.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,
java.lang.String message) |
Modifier and Type | Method and 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.Throwable
Copyright © 2019 Google. All Rights Reserved.