title: Getting Exception For SimpleDateTime Format
body: <p>Before every thing was working fine suddenly i got the exception </p>
  
  <pre><code>    Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Unterminated quote
  at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:859)
  at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:659)
  at java.text.SimpleDateFormat.&lt;init&gt;(SimpleDateFormat.java:585)
  at java.text.SimpleDateFormat.&lt;init&gt;(SimpleDateFormat.java:560)
  at Utilities.Utility.DateColumnFormatParser(Utility.java:2149)
  at jewelleryerpapplication.GUI.Gold.IssueToAssembling$9.actionPerformed(IssueToAssembling.java:921)
  </code></pre>
  
  <p>what's wrong with the format </p>
  
  <p>for code</p>
  
  <pre><code>String currentFormat= "dd'-'MM'-'yyyy' 'hh':'mm':'ss' 'a'";
  SimpleDateFormat fromUser = new SimpleDateFormat(currentFormat);
  </code></pre>
  
  <p>I don't know why this happens.</p>