public static ErrorState getErrorState() { ErrorState ec = threadToErrorStateMap.get(Thread.currentThread()); if ( ec==null ) { ec = new ErrorState(); threadToErrorStateMap.put(Thread.currentThread(), ec); } return ec; }
public static ErrorState getErrorState() { ErrorState ec = threadToErrorStateMap.get(Thread.currentThread()); if ( ec==null ) { ec = new ErrorState(); threadToErrorStateMap.put(Thread.currentThread(), ec); } return ec; }
public static ErrorState getErrorState() { ErrorState ec = (ErrorState)threadToErrorStateMap.get(Thread.currentThread()); if ( ec==null ) { ec = new ErrorState(); threadToErrorStateMap.put(Thread.currentThread(), ec); } return ec; }
public static void resetErrorState() { threadToListenerMap = new HashMap(); ErrorState ec = new ErrorState(); threadToErrorStateMap.put(Thread.currentThread(), ec); }
public static ErrorState getErrorState() { ErrorState ec = (ErrorState)threadToErrorStateMap.get(Thread.currentThread()); if ( ec==null ) { ec = new ErrorState(); threadToErrorStateMap.put(Thread.currentThread(), ec); } return ec; }
public static void resetErrorState() { threadToListenerMap.clear(); ErrorState ec = new ErrorState(); threadToErrorStateMap.put(Thread.currentThread(), ec); }
public static void resetErrorState() { threadToListenerMap = new HashMap(); ErrorState ec = new ErrorState(); threadToErrorStateMap.put(Thread.currentThread(), ec); }
public static void resetErrorState() { threadToListenerMap.clear(); ErrorState ec = new ErrorState(); threadToErrorStateMap.put(Thread.currentThread(), ec); }