ariba.util.formatter
Class BigDecimalFormatter.StrictParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.text.ParseException
              extended by ariba.util.formatter.BigDecimalFormatter.StrictParseException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
BigDecimalFormatter

public static class BigDecimalFormatter.StrictParseException
extends java.text.ParseException

If a parse fails ONLY because strict behavior is specified this is used. Non-strict is basically compatibility mode to avoid causing parse errors in far away parts of the system (specifically importing Viking (AKA 8.2.2) xls data caused problems in the past). We also need to differentiate between a regular ParseException and a StrictParseException in order to preserve the old behavior in other parts of the system.

See Also:
Serialized Form

Constructor Summary
BigDecimalFormatter.StrictParseException(java.lang.String s, int errorOffset)
           
 
Method Summary
static boolean isStrict(java.text.ParseException ex)
           
static BigDecimalFormatter.StrictParseException make(int offset, java.lang.String string)
           
static BigDecimalFormatter.StrictParseException make(java.text.ParseException e, java.lang.String string)
           
 
Methods inherited from class java.text.ParseException
getErrorOffset
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BigDecimalFormatter.StrictParseException

public BigDecimalFormatter.StrictParseException(java.lang.String s,
                                                int errorOffset)
Method Detail

make

public static BigDecimalFormatter.StrictParseException make(int offset,
                                                            java.lang.String string)
Parameters:
offset -
string - The offending string
Returns:

make

public static BigDecimalFormatter.StrictParseException make(java.text.ParseException e,
                                                            java.lang.String string)

isStrict

public static boolean isStrict(java.text.ParseException ex)


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.