Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


ParseExceptionjava.text

Java 1.1serializable checked

Signals that
a string has an incorrect format and cannot be parsed. It is
typically thrown by the parse( ) or
parseObject( ) methods of
Format and its subclasses, but is also thrown by
certain methods in the java.text package that are
passed patterns or other rules in string form. The
getErrorOffset( ) method of this class returns the
character position at which the parsing error occurred in the
offending string.


Figure 15-14. java.text.ParseException

public class

ParseException extends Exception {
// Public Constructors
public

ParseException (String

s , int

errorOffset );
// Public Instance Methods
public int

getErrorOffset ( );
}


Thrown By


DateFormat.parse( ), Format.parseObject(
), MessageFormat.parse( ),
NumberFormat.parse( ),
RuleBasedCollator.RuleBasedCollator( )


    / 1191