Package com.jdroid.java.exception

Examples of com.jdroid.java.exception.UnexpectedException


          LOGGER.debug("Starting to parse " + fileName + " file.");
          return innerParser.parse(zipInputStream);
        }
      }
    } catch (IOException e) {
      throw new UnexpectedException(e);
    }
    return null;
  }
View Full Code Here


    Date date = null;
    if (StringUtils.isNotEmpty(dateFormatted)) {
      try {
        date = dateFormat.parse(dateFormatted);
      } catch (ParseException e) {
        throw new UnexpectedException("Error parsing the date: '" + dateFormatted + "' with pattern: "
            + dateFormat.toPattern(), e);
      }
    }
    return date;
  }
View Full Code Here

TOP

Related Classes of com.jdroid.java.exception.UnexpectedException

Copyright © 2018 www.massapicom. 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.