java.lang.IllegalArgumentException: Illegal pattern character 'Z'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Robert Popular, 1 year ago
Illegal pattern character 'Z'
via apache.org by Unknown author, 2 years ago
via sun.com by Unknown author, 2 years ago
via java.com by Unknown author, 1 year ago
via Google Groups by ryan, 2 years ago
Illegal pattern character 't'
via logging-log4j-user by David Schultz, 1 year ago
java.lang.IllegalArgumentException: Illegal pattern character 'Z'
at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:477)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:437)
at java.text.DateFormat.format(DateFormat.java:305)
at com.pwc.dcx.batchutility.CalculateDateUtil.getLDAPTimeStamp(CalculateDateUtil.java:100)
at com.pwc.dcx.batchutility.EmailReminder.modifyUserData(EmailReminder.java:151)
at com.pwc.dcx.batchutility.EmailReminder.main(EmailReminder.java:97)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.