Package au.net.causal.projo.prefs

Examples of au.net.causal.projo.prefs.PreferencesException.initCause()


   
    //If we get here, no date formats worked
    //Propogate cause if only one format exists
    PreferencesException ex = new PreferencesException("Error parsing date '" + s + "'.");
    if (dateFormats.size() == 1)
      ex.initCause(lastParseError);
   
    throw ex;
  }
 
  @Override
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.