Class NumberParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NumberParseException
    extends java.lang.Exception
    Generic exception class for errors encountered when parsing phone numbers.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  NumberParseException.ErrorType
      The reason that a string could not be interpreted as a phone number.
    • Method Summary

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

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable