Package 

Class NumberParseException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class NumberParseException
    extends Exception
                        

    Generic exception class for errors encountered when parsing phone numbers.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum NumberParseException.ErrorType

      The reason that a string could not be interpreted as a phone number.

    • Method Summary

      Modifier and Type Method Description
      NumberParseException.ErrorType getErrorType() Returns the error type of the exception that has been thrown.
      String toString()
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait