Quellcode durchsuchen

change unknown error to internal error

jrivard@gmail.com vor 6 Jahren
Ursprung
Commit
6fa5cbb1f0
100 geänderte Dateien mit 198 neuen und 197 gelöschten Zeilen
  1. 3 3
      data-service/src/main/java/password/pwm/receiver/TelemetryRestReceiver.java
  2. 5 5
      server/src/main/java/password/pwm/bean/UserIdentity.java
  3. 1 1
      server/src/main/java/password/pwm/config/function/LdapCertImportFunction.java
  4. 1 1
      server/src/main/java/password/pwm/config/function/SyslogCertImportFunction.java
  5. 2 2
      server/src/main/java/password/pwm/config/stored/ConfigurationReader.java
  6. 5 5
      server/src/main/java/password/pwm/error/ErrorInformation.java
  7. 2 2
      server/src/main/java/password/pwm/error/PwmError.java
  8. 2 2
      server/src/main/java/password/pwm/error/PwmException.java
  9. 3 3
      server/src/main/java/password/pwm/health/ApplianceStatusChecker.java
  10. 1 1
      server/src/main/java/password/pwm/health/LDAPStatusChecker.java
  11. 2 2
      server/src/main/java/password/pwm/http/PwmHttpRequestWrapper.java
  12. 1 1
      server/src/main/java/password/pwm/http/PwmRequest.java
  13. 1 1
      server/src/main/java/password/pwm/http/PwmSession.java
  14. 1 1
      server/src/main/java/password/pwm/http/PwmSessionWrapper.java
  15. 2 2
      server/src/main/java/password/pwm/http/client/PwmHttpClient.java
  16. 1 1
      server/src/main/java/password/pwm/http/filter/ApplicationModeFilter.java
  17. 1 1
      server/src/main/java/password/pwm/http/filter/AuthenticationFilter.java
  18. 1 1
      server/src/main/java/password/pwm/http/filter/RequestInitializationFilter.java
  19. 2 2
      server/src/main/java/password/pwm/http/servlet/AbstractPwmServlet.java
  20. 2 2
      server/src/main/java/password/pwm/http/servlet/ClientApiServlet.java
  21. 3 3
      server/src/main/java/password/pwm/http/servlet/ControlledPwmServlet.java
  22. 3 3
      server/src/main/java/password/pwm/http/servlet/ForgottenUsernameServlet.java
  23. 2 2
      server/src/main/java/password/pwm/http/servlet/GuestRegistrationServlet.java
  24. 1 1
      server/src/main/java/password/pwm/http/servlet/PwmServletDefinition.java
  25. 3 3
      server/src/main/java/password/pwm/http/servlet/SetupOtpServlet.java
  26. 1 1
      server/src/main/java/password/pwm/http/servlet/SetupResponsesServlet.java
  27. 1 1
      server/src/main/java/password/pwm/http/servlet/activation/ActivateUserUtils.java
  28. 7 7
      server/src/main/java/password/pwm/http/servlet/admin/AdminServlet.java
  29. 2 2
      server/src/main/java/password/pwm/http/servlet/configeditor/ConfigEditorServlet.java
  30. 2 2
      server/src/main/java/password/pwm/http/servlet/configeditor/ConfigEditorServletUtils.java
  31. 3 3
      server/src/main/java/password/pwm/http/servlet/configguide/ConfigGuideServlet.java
  32. 2 2
      server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerLocalDBServlet.java
  33. 2 2
      server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerServlet.java
  34. 4 4
      server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerWordlistServlet.java
  35. 5 5
      server/src/main/java/password/pwm/http/servlet/forgottenpw/ForgottenPasswordServlet.java
  36. 2 2
      server/src/main/java/password/pwm/http/servlet/forgottenpw/ForgottenPasswordUtil.java
  37. 3 3
      server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskServlet.java
  38. 1 1
      server/src/main/java/password/pwm/http/servlet/oauth/OAuthMachine.java
  39. 3 3
      server/src/main/java/password/pwm/http/state/CryptoCookieLoginImpl.java
  40. 1 1
      server/src/main/java/password/pwm/http/state/SessionStateService.java
  41. 1 1
      server/src/main/java/password/pwm/ldap/LdapConnectionService.java
  42. 5 5
      server/src/main/java/password/pwm/ldap/LdapOperationsHelper.java
  43. 2 2
      server/src/main/java/password/pwm/ldap/LdapPermissionTester.java
  44. 3 3
      server/src/main/java/password/pwm/ldap/auth/LDAPAuthenticationRequest.java
  45. 1 1
      server/src/main/java/password/pwm/ldap/auth/SimpleLdapAuthenticator.java
  46. 1 1
      server/src/main/java/password/pwm/ldap/schema/EdirSchemaExtender.java
  47. 1 1
      server/src/main/java/password/pwm/ldap/schema/SchemaManager.java
  48. 4 4
      server/src/main/java/password/pwm/ldap/search/UserSearchEngine.java
  49. 1 1
      server/src/main/java/password/pwm/svc/cache/MemoryCacheStore.java
  50. 1 1
      server/src/main/java/password/pwm/svc/event/AuditService.java
  51. 1 1
      server/src/main/java/password/pwm/svc/event/LdapXmlUserHistory.java
  52. 1 1
      server/src/main/java/password/pwm/svc/intruder/DataStoreRecordStore.java
  53. 1 1
      server/src/main/java/password/pwm/svc/intruder/IntruderManager.java
  54. 1 1
      server/src/main/java/password/pwm/svc/intruder/RecordManagerImpl.java
  55. 1 1
      server/src/main/java/password/pwm/svc/pwnotify/PwNotifyService.java
  56. 1 1
      server/src/main/java/password/pwm/svc/sessiontrack/UserAgentUtils.java
  57. 2 2
      server/src/main/java/password/pwm/svc/telemetry/TelemetryService.java
  58. 2 2
      server/src/main/java/password/pwm/svc/token/LdapTokenMachine.java
  59. 1 1
      server/src/main/java/password/pwm/svc/token/TokenService.java
  60. 4 4
      server/src/main/java/password/pwm/svc/wordlist/AbstractWordlist.java
  61. 2 2
      server/src/main/java/password/pwm/svc/wordlist/Populator.java
  62. 1 1
      server/src/main/java/password/pwm/util/CASFilterAuthenticationProvider.java
  63. 1 1
      server/src/main/java/password/pwm/util/LDAPPermissionCalculator.java
  64. 1 1
      server/src/main/java/password/pwm/util/PasswordData.java
  65. 1 1
      server/src/main/java/password/pwm/util/PwmPasswordRuleValidator.java
  66. 3 3
      server/src/main/java/password/pwm/util/RandomPasswordGenerator.java
  67. 1 1
      server/src/main/java/password/pwm/util/form/FormUtility.java
  68. 1 1
      server/src/main/java/password/pwm/util/localdb/AbstractJDBCLocalDB.java
  69. 1 1
      server/src/main/java/password/pwm/util/localdb/BerkeleyLocalDB.java
  70. 5 4
      server/src/main/java/password/pwm/util/localdb/LocalDBAdaptor.java
  71. 4 4
      server/src/main/java/password/pwm/util/localdb/LocalDBUtility.java
  72. 3 3
      server/src/main/java/password/pwm/util/localdb/WorkQueueProcessor.java
  73. 7 7
      server/src/main/java/password/pwm/util/operations/ActionExecutor.java
  74. 1 1
      server/src/main/java/password/pwm/util/operations/CrService.java
  75. 4 4
      server/src/main/java/password/pwm/util/operations/PasswordUtility.java
  76. 1 1
      server/src/main/java/password/pwm/util/operations/cr/DbCrOperator.java
  77. 2 2
      server/src/main/java/password/pwm/util/operations/cr/LocalDbCrOperator.java
  78. 2 2
      server/src/main/java/password/pwm/util/operations/otp/LdapOtpOperator.java
  79. 2 2
      server/src/main/java/password/pwm/util/operations/otp/LocalDbOtpOperator.java
  80. 2 2
      server/src/main/java/password/pwm/ws/client/rest/RestClientHelper.java
  81. 4 4
      server/src/main/java/password/pwm/ws/server/RestServlet.java
  82. 3 3
      server/src/main/java/password/pwm/ws/server/rest/RestChallengesServer.java
  83. 1 1
      server/src/main/java/password/pwm/ws/server/rest/RestCheckPasswordServer.java
  84. 1 1
      server/src/main/java/password/pwm/ws/server/rest/RestFormSigningServer.java
  85. 1 1
      server/src/main/java/password/pwm/ws/server/rest/RestHealthServer.java
  86. 2 2
      server/src/main/java/password/pwm/ws/server/rest/RestProfileServer.java
  87. 3 3
      server/src/main/java/password/pwm/ws/server/rest/RestRandomPasswordServer.java
  88. 1 1
      server/src/main/java/password/pwm/ws/server/rest/RestSetPasswordServer.java
  89. 1 1
      server/src/main/java/password/pwm/ws/server/rest/RestStatisticsServer.java
  90. 1 1
      server/src/main/java/password/pwm/ws/server/rest/RestStatusServer.java
  91. 1 1
      server/src/main/java/password/pwm/ws/server/rest/RestVerifyOtpServer.java
  92. 1 1
      server/src/main/resources/password/pwm/i18n/Error.properties
  93. 1 1
      server/src/main/resources/password/pwm/i18n/Error_ca.properties
  94. 1 1
      server/src/main/resources/password/pwm/i18n/Error_cs.properties
  95. 1 1
      server/src/main/resources/password/pwm/i18n/Error_da.properties
  96. 1 1
      server/src/main/resources/password/pwm/i18n/Error_de.properties
  97. 1 1
      server/src/main/resources/password/pwm/i18n/Error_el.properties
  98. 1 1
      server/src/main/resources/password/pwm/i18n/Error_en_CA.properties
  99. 1 1
      server/src/main/resources/password/pwm/i18n/Error_es.properties
  100. 1 1
      server/src/main/resources/password/pwm/i18n/Error_fi.properties

+ 3 - 3
data-service/src/main/java/password/pwm/receiver/TelemetryRestReceiver.java

@@ -70,7 +70,7 @@ public class TelemetryRestReceiver extends HttpServlet
         }
         catch ( Exception e )
         {
-            final RestResultBean restResultBean = RestResultBean.fromError( new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() ) );
+            final RestResultBean restResultBean = RestResultBean.fromError( new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() ) );
             resp.getWriter().print( restResultBean.toJson() );
         }
     }
@@ -91,7 +91,7 @@ public class TelemetryRestReceiver extends HttpServlet
         catch ( Exception e )
         {
             final String errorMsg = "error reading request body stream: " + e.getMessage();
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
         }
         finally
         {
@@ -102,7 +102,7 @@ public class TelemetryRestReceiver extends HttpServlet
         if ( stringValue.length() > maxChars )
         {
             final String msg = "input request body is to big, size=" + stringValue.length() + ", max=" + maxChars;
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, msg ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, msg ) );
         }
         return stringValue;
     }

+ 5 - 5
server/src/main/java/password/pwm/bean/UserIdentity.java

@@ -123,7 +123,7 @@ public class UserIdentity implements Serializable, Comparable
         }
         catch ( Exception e )
         {
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "unexpected error making obfuscated user key: " + e.getMessage() ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "unexpected error making obfuscated user key: " + e.getMessage() ) );
         }
     }
 
@@ -146,7 +146,7 @@ public class UserIdentity implements Serializable, Comparable
 
         if ( !key.startsWith( CRYPO_HEADER ) )
         {
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "cannot reverse obfuscated user key: missing header; value=" + key ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "cannot reverse obfuscated user key: missing header; value=" + key ) );
         }
 
         try
@@ -157,7 +157,7 @@ public class UserIdentity implements Serializable, Comparable
         }
         catch ( Exception e )
         {
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "unexpected error reversing obfuscated user key: " + e.getMessage() ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "unexpected error reversing obfuscated user key: " + e.getMessage() ) );
         }
     }
 
@@ -171,11 +171,11 @@ public class UserIdentity implements Serializable, Comparable
         final StringTokenizer st = new StringTokenizer( key, DELIM_SEPARATOR );
         if ( st.countTokens() < 2 )
         {
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "not enough tokens while parsing delimited identity key" ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "not enough tokens while parsing delimited identity key" ) );
         }
         else if ( st.countTokens() > 2 )
         {
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "too many string tokens while parsing delimited identity key" ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "too many string tokens while parsing delimited identity key" ) );
         }
         final String profileID = st.nextToken();
         final String userDN = st.nextToken();

+ 1 - 1
server/src/main/java/password/pwm/config/function/LdapCertImportFunction.java

@@ -84,7 +84,7 @@ public class LdapCertImportFunction implements SettingUIFunction
             {
                 throw new PwmOperationalException( ( ( PwmException ) e ).getErrorInformation() );
             }
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "error importing certificates: " + e.getMessage() );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "error importing certificates: " + e.getMessage() );
             throw new PwmOperationalException( errorInformation );
         }
 

+ 1 - 1
server/src/main/java/password/pwm/config/function/SyslogCertImportFunction.java

@@ -104,7 +104,7 @@ public class SyslogCertImportFunction implements SettingUIFunction
             {
                 throw new PwmOperationalException( ( ( PwmException ) exeception ).getErrorInformation() );
             }
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "error importing certificates: " + exeception.getMessage() );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "error importing certificates: " + exeception.getMessage() );
             throw new PwmOperationalException( errorInformation );
         }
     }

+ 2 - 2
server/src/main/java/password/pwm/config/stored/ConfigurationReader.java

@@ -240,7 +240,7 @@ public class ConfigurationReader
         {
             if ( !backupDirectory.mkdirs() )
             {
-                throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN,
+                throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL,
                         "unable to create backup directory structure '" + backupDirectory.toString() + "'" ) );
             }
         }
@@ -272,7 +272,7 @@ public class ConfigurationReader
             {
                 final String errorMsg = "unable to rename temporary save file from " + tempWriteFile.getAbsolutePath()
                         + " to " + configFile.getAbsolutePath() + "; error: " + e.getMessage();
-                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
             }
 
             if ( backupDirectory != null )

+ 5 - 5
server/src/main/java/password/pwm/error/ErrorInformation.java

@@ -47,7 +47,7 @@ public class ErrorInformation implements Serializable
     // private constructor used for gson de-serialization
     private ErrorInformation( )
     {
-        error = PwmError.ERROR_UNKNOWN;
+        error = PwmError.ERROR_INTERNAL;
         detailedErrorMsg = null;
         fieldValues = null;
         userStrOverride = null;
@@ -55,7 +55,7 @@ public class ErrorInformation implements Serializable
 
     public ErrorInformation( final PwmError error )
     {
-        this.error = error == null ? PwmError.ERROR_UNKNOWN : error;
+        this.error = error == null ? PwmError.ERROR_INTERNAL : error;
         this.detailedErrorMsg = null;
         this.userStrOverride = null;
         this.fieldValues = new String[ 0 ];
@@ -63,7 +63,7 @@ public class ErrorInformation implements Serializable
 
     public ErrorInformation( final PwmError error, final String detailedErrorMsg )
     {
-        this.error = error == null ? PwmError.ERROR_UNKNOWN : error;
+        this.error = error == null ? PwmError.ERROR_INTERNAL : error;
         this.detailedErrorMsg = detailedErrorMsg;
         this.userStrOverride = null;
         this.fieldValues = new String[ 0 ];
@@ -71,7 +71,7 @@ public class ErrorInformation implements Serializable
 
     public ErrorInformation( final PwmError error, final String detailedErrorMsg, final String[] fields )
     {
-        this.error = error == null ? PwmError.ERROR_UNKNOWN : error;
+        this.error = error == null ? PwmError.ERROR_INTERNAL : error;
         this.detailedErrorMsg = detailedErrorMsg;
         this.userStrOverride = null;
         this.fieldValues = fields == null ? new String[ 0 ] : fields;
@@ -79,7 +79,7 @@ public class ErrorInformation implements Serializable
 
     public ErrorInformation( final PwmError error, final String detailedErrorMsg, final String userStrOverride, final String[] fields )
     {
-        this.error = error == null ? PwmError.ERROR_UNKNOWN : error;
+        this.error = error == null ? PwmError.ERROR_INTERNAL : error;
         this.detailedErrorMsg = detailedErrorMsg;
         this.userStrOverride = userStrOverride;
         this.fieldValues = fields == null ? new String[ 0 ] : fields;

+ 2 - 2
server/src/main/java/password/pwm/error/PwmError.java

@@ -149,8 +149,8 @@ public enum PwmError
             5012, "Error_Missing_Challenge_Text", null ),
     ERROR_MISSING_PARAMETER(
             5013, "Error_MissingParameter", null ),
-    ERROR_UNKNOWN(
-            5015, "Error_Unknown", null, ErrorFlag.ForceLogout ),
+    ERROR_INTERNAL(
+            5015, "Error_Internal", null, ErrorFlag.ForceLogout ),
     ERROR_CANT_MATCH_USER(
             5016, "Error_CantMatchUser", null ),
     ERROR_DIRECTORY_UNAVAILABLE(

+ 2 - 2
server/src/main/java/password/pwm/error/PwmException.java

@@ -28,12 +28,12 @@ public abstract class PwmException extends Exception
 
     public PwmException( final ErrorInformation error )
     {
-        this.errorInformation = error == null ? new ErrorInformation( PwmError.ERROR_UNKNOWN ) : error;
+        this.errorInformation = error == null ? new ErrorInformation( PwmError.ERROR_INTERNAL ) : error;
     }
 
     public PwmException( final ErrorInformation error, final Throwable initialCause )
     {
-        this.errorInformation = error == null ? new ErrorInformation( PwmError.ERROR_UNKNOWN ) : error;
+        this.errorInformation = error == null ? new ErrorInformation( PwmError.ERROR_INTERNAL ) : error;
         this.initCause( initialCause );
     }
 

+ 3 - 3
server/src/main/java/password/pwm/health/ApplianceStatusChecker.java

@@ -132,7 +132,7 @@ public class ApplianceStatusChecker implements HealthChecker
         {
             final String msg = "unable to determine appliance token, token file environment param "
                     + PwmEnvironment.ApplicationParameter.ApplianceTokenFile.toString() + " is not set";
-            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN, msg ) );
+            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL, msg ) );
         }
         final String fileInput = readFileContents( tokenFile );
         if ( fileInput != null )
@@ -149,7 +149,7 @@ public class ApplianceStatusChecker implements HealthChecker
         {
             final String msg = "unable to determine appliance hostname, hostname file environment param "
                     + PwmEnvironment.ApplicationParameter.ApplianceHostnameFile.toString() + " is not set";
-            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN, msg ) );
+            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL, msg ) );
         }
 
         final String hostname = readFileContents( hostnameFile );
@@ -175,7 +175,7 @@ public class ApplianceStatusChecker implements HealthChecker
         catch ( IOException e )
         {
             final String msg = "unable to read contents of file '" + filename + "', error: " + e.getMessage();
-            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN, msg ), e );
+            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL, msg ), e );
         }
     }
 }

+ 1 - 1
server/src/main/java/password/pwm/health/LDAPStatusChecker.java

@@ -518,7 +518,7 @@ public class LDAPStatusChecker implements HealthChecker
                 {
                     errorString.append( " (" );
                     errorString.append( chaiError.toString() );
-                    if ( pwmError != null && pwmError != PwmError.ERROR_UNKNOWN )
+                    if ( pwmError != null && pwmError != PwmError.ERROR_INTERNAL )
                     {
                         errorString.append( " - " );
                         errorString.append( pwmError.getLocalizedMessage( PwmConstants.DEFAULT_LOCALE, pwmApplication.getConfig() ) );

+ 2 - 2
server/src/main/java/password/pwm/http/PwmHttpRequestWrapper.java

@@ -136,7 +136,7 @@ public class PwmHttpRequestWrapper
         catch ( Exception e )
         {
             final String errorMsg = "error reading request body stream: " + e.getMessage();
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
         }
         finally
         {
@@ -147,7 +147,7 @@ public class PwmHttpRequestWrapper
         if ( stringValue.length() > maxChars )
         {
             throw new PwmUnrecoverableException( new ErrorInformation(
-                    PwmError.ERROR_UNKNOWN,
+                    PwmError.ERROR_INTERNAL,
                     "input request body is to big, size=" + stringValue.length() + ", max=" + maxChars )
             );
         }

+ 1 - 1
server/src/main/java/password/pwm/http/PwmRequest.java

@@ -259,7 +259,7 @@ public class PwmRequest extends PwmHttpRequestWrapper
                     final long length = IOUtils.copyLarge( inputStream, baos, 0, maxFileSize + 1 );
                     if ( length > maxFileSize )
                     {
-                        final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "upload file size limit exceeded" );
+                        final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "upload file size limit exceeded" );
                         LOGGER.error( this, errorInformation );
                         respondWithError( errorInformation );
                         return Collections.emptyMap();

+ 1 - 1
server/src/main/java/password/pwm/http/PwmSession.java

@@ -279,7 +279,7 @@ public class PwmSession implements Serializable
             catch ( PwmUnrecoverableException e )
             {
                 final String errorMsg = "unexpected error writing removing login cookie from response: " + e.getMessage();
-                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
                 LOGGER.error( pwmRequest, errorInformation );
             }
 

+ 1 - 1
server/src/main/java/password/pwm/http/PwmSessionWrapper.java

@@ -63,7 +63,7 @@ public class PwmSessionWrapper
         final PwmSession returnSession = ( PwmSession ) httpSession.getAttribute( PwmConstants.SESSION_ATTR_PWM_SESSION );
         if ( returnSession == null )
         {
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "attempt to read PwmSession from HttpSession failed" ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "attempt to read PwmSession from HttpSession failed" ) );
         }
         return returnSession;
     }

+ 2 - 2
server/src/main/java/password/pwm/http/client/PwmHttpClient.java

@@ -168,7 +168,7 @@ public class PwmHttpClient
         }
         catch ( Exception e )
         {
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "unexpected error creating promiscuous https client: " + e.getMessage() ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "unexpected error creating promiscuous https client: " + e.getMessage() ) );
         }
 
         final String proxyUrl = configuration.readSettingAsString( PwmSetting.HTTP_PROXY_URL );
@@ -329,7 +329,7 @@ public class PwmHttpClient
                 }
                 catch ( URISyntaxException e )
                 {
-                    throw PwmUnrecoverableException.newException( PwmError.ERROR_UNKNOWN, "malformed url: " + clientRequest.getUrl() + ", error: " + e.getMessage() );
+                    throw PwmUnrecoverableException.newException( PwmError.ERROR_INTERNAL, "malformed url: " + clientRequest.getUrl() + ", error: " + e.getMessage() );
                 }
             }
             break;

+ 1 - 1
server/src/main/java/password/pwm/http/filter/ApplicationModeFilter.java

@@ -65,7 +65,7 @@ public class ApplicationModeFilter extends AbstractPwmFilter
             }
             catch ( PwmUnrecoverableException e )
             {
-                if ( e.getError() == PwmError.ERROR_UNKNOWN )
+                if ( e.getError() == PwmError.ERROR_INTERNAL )
                 {
                     try
                     {

+ 1 - 1
server/src/main/java/password/pwm/http/filter/AuthenticationFilter.java

@@ -392,7 +392,7 @@ public class AuthenticationFilter extends AbstractPwmFilter
                         }
                         else
                         {
-                            errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+                            errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
 
                         }
                         LOGGER.error( pwmRequest, errorInformation );

+ 1 - 1
server/src/main/java/password/pwm/http/filter/RequestInitializationFilter.java

@@ -237,7 +237,7 @@ public class RequestInitializationFilter implements Filter
         catch ( Throwable e )
         {
             final String logMsg = "can't init request: " + e.getMessage();
-            if ( e instanceof PwmException && ( ( PwmException ) e ).getError() != PwmError.ERROR_UNKNOWN )
+            if ( e instanceof PwmException && ( ( PwmException ) e ).getError() != PwmError.ERROR_INTERNAL )
             {
                 LOGGER.error( logMsg );
             }

+ 2 - 2
server/src/main/java/password/pwm/http/servlet/AbstractPwmServlet.java

@@ -214,7 +214,7 @@ public abstract class AbstractPwmServlet extends HttpServlet implements PwmServl
         final String errorMsg = "unexpected error processing request: " + JavaHelper.readHostileExceptionMessage( e ) + " [" + stackTraceHash + "]";
 
         LOGGER.error( pwmRequest, errorMsg, e );
-        return new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+        return new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
     }
 
 
@@ -259,7 +259,7 @@ public abstract class AbstractPwmServlet extends HttpServlet implements PwmServl
                 break;
 
 
-            case ERROR_UNKNOWN:
+            case ERROR_INTERNAL:
             default:
                 LOGGER.fatal( pwmSession, "unexpected error: " + e.getErrorInformation().toDebugStr() );
                 try

+ 2 - 2
server/src/main/java/password/pwm/http/servlet/ClientApiServlet.java

@@ -200,7 +200,7 @@ public class ClientApiServlet extends ControlledPwmServlet
         catch ( Exception e )
         {
             final String errorMSg = "error during rest /strings call for bundle " + bundleName + ", error: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMSg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMSg );
             LOGGER.debug( pwmRequest, errorInformation );
             pwmRequest.respondWithError( errorInformation );
         }
@@ -249,7 +249,7 @@ public class ClientApiServlet extends ControlledPwmServlet
         catch ( Exception e )
         {
             final String errorMessage = "unexpected error executing web service: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMessage );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMessage );
             LOGGER.debug( pwmRequest, errorInformation );
             pwmRequest.respondWithError( errorInformation );
         }

+ 3 - 3
server/src/main/java/password/pwm/http/servlet/ControlledPwmServlet.java

@@ -134,7 +134,7 @@ public abstract class ControlledPwmServlet extends AbstractPwmServlet implements
                         + this.getClass().getName()
                         + ":" + action + "', error: " + cause.getMessage();
                 LOGGER.error( pwmRequest, msg, e.getCause() );
-                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, msg ) );
+                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, msg ) );
             }
             LOGGER.error( "uncased invocation error: " + e.getMessage(), e );
         }
@@ -142,12 +142,12 @@ public abstract class ControlledPwmServlet extends AbstractPwmServlet implements
         {
             final String msg = "unexpected error invoking action handler for '" + action + "', error: " + e.getMessage();
             LOGGER.error( msg, e );
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, msg ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, msg ) );
         }
 
         final String msg = "missing action handler for '" + action + "'";
         LOGGER.error( msg );
-        throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, msg ) );
+        throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, msg ) );
     }
 
     protected void processAction( final PwmRequest pwmRequest )

+ 3 - 3
server/src/main/java/password/pwm/http/servlet/ForgottenUsernameServlet.java

@@ -226,7 +226,7 @@ public class ForgottenUsernameServlet extends AbstractPwmServlet
         catch ( PwmOperationalException e )
         {
             final ErrorInformation errorInfo;
-            errorInfo = e.getError() == PwmError.ERROR_UNKNOWN
+            errorInfo = e.getError() == PwmError.ERROR_INTERNAL
                     ? new ErrorInformation( PwmError.ERROR_CANT_MATCH_USER, e.getErrorInformation().getDetailedErrorMsg(),
                     e.getErrorInformation().getFieldValues() )
                     : e.getErrorInformation();
@@ -323,7 +323,7 @@ public class ForgottenUsernameServlet extends AbstractPwmServlet
         if ( toNumber == null || toNumber.length() < 1 )
         {
             final String errorMsg = String.format( "unable to send new password email for '%s'; no SMS number available in ldap", userInfo.getUserIdentity() );
-            return new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            return new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
         }
 
         final MacroMachine macroMachine = MacroMachine.forUser( pwmApplication, sessionLabel, userInfo, null );
@@ -343,7 +343,7 @@ public class ForgottenUsernameServlet extends AbstractPwmServlet
         if ( emailItemBean == null )
         {
             final String errorMsg = "emailItemBean is null";
-            return new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            return new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
         }
 
         final MacroMachine macroMachine = MacroMachine.forUser( pwmApplication, sessionLabel, userInfo, null );

+ 2 - 2
server/src/main/java/password/pwm/http/servlet/GuestRegistrationServlet.java

@@ -277,7 +277,7 @@ public class GuestRegistrationServlet extends AbstractPwmServlet
         }
         catch ( ChaiOperationException e )
         {
-            final ErrorInformation info = new ErrorInformation( PwmError.ERROR_UNKNOWN, "unexpected error writing to ldap: " + e.getMessage() );
+            final ErrorInformation info = new ErrorInformation( PwmError.ERROR_INTERNAL, "unexpected error writing to ldap: " + e.getMessage() );
             LOGGER.error( pwmSession, info );
             setLastError( pwmRequest, info );
         }
@@ -594,7 +594,7 @@ public class GuestRegistrationServlet extends AbstractPwmServlet
             }
         }
         final String errorMsg = "unable to determine new user DN due to missing form value for naming attribute '" + namingAttribute + '"';
-        throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+        throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
     }
 
     private void sendGuestUserEmailConfirmation(

+ 1 - 1
server/src/main/java/password/pwm/http/servlet/PwmServletDefinition.java

@@ -157,7 +157,7 @@ public enum PwmServletDefinition
             }
         }
 
-        throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "missing WebServlet annotation for class " + this.getClass().getName() ) );
+        throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "missing WebServlet annotation for class " + this.getClass().getName() ) );
     }
 
 

+ 3 - 3
server/src/main/java/password/pwm/http/servlet/SetupOtpServlet.java

@@ -310,7 +310,7 @@ public class SetupOtpServlet extends ControlledPwmServlet
 
             final String errorMsg = "error during otp code validation: " + e.getMessage();
             LOGGER.error( pwmSession, errorMsg );
-            pwmRequest.outputJsonResult( RestResultBean.fromError( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ), pwmRequest ) );
+            pwmRequest.outputJsonResult( RestResultBean.fromError( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ), pwmRequest ) );
         }
 
         return ProcessStatus.Continue;
@@ -462,7 +462,7 @@ public class SetupOtpServlet extends ControlledPwmServlet
             {
                 final String errorMsg = "error setting up new OTP secret: " + e.getMessage();
                 LOGGER.error( pwmSession, errorMsg );
-                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
             }
         }
     }
@@ -511,7 +511,7 @@ public class SetupOtpServlet extends ControlledPwmServlet
         {
             final String errorMsg = "error generating qrcode image: " + e.getMessage() + ", payload length=" + qrCodeContent.length();
             LOGGER.error( pwmRequest, errorMsg, e );
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
         }
 
         return "data:image/png;base64," + StringUtil.base64Encode( imageBytes );

+ 1 - 1
server/src/main/java/password/pwm/http/servlet/SetupResponsesServlet.java

@@ -602,7 +602,7 @@ public class SetupResponsesServlet extends ControlledPwmServlet
                 return new ErrorInformation( PwmError.ERROR_CHALLENGE_IN_RESPONSE, null, fieldNames );
 
             default:
-                return new ErrorInformation( PwmError.ERROR_UNKNOWN );
+                return new ErrorInformation( PwmError.ERROR_INTERNAL );
         }
     }
 

+ 1 - 1
server/src/main/java/password/pwm/http/servlet/activation/ActivateUserUtils.java

@@ -191,7 +191,7 @@ class ActivateUserUtils
         }
         catch ( ImpossiblePasswordPolicyException e )
         {
-            final ErrorInformation info = new ErrorInformation( PwmError.ERROR_UNKNOWN, "unexpected ImpossiblePasswordPolicyException error while activating user" );
+            final ErrorInformation info = new ErrorInformation( PwmError.ERROR_INTERNAL, "unexpected ImpossiblePasswordPolicyException error while activating user" );
             LOGGER.warn( pwmSession, info, e );
             throw new PwmOperationalException( info );
         }

+ 7 - 7
server/src/main/java/password/pwm/http/servlet/admin/AdminServlet.java

@@ -213,7 +213,7 @@ public class AdminServlet extends ControlledPwmServlet
         }
         catch ( Exception e )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
             pwmRequest.respondWithError( errorInformation );
         }
         finally
@@ -244,7 +244,7 @@ public class AdminServlet extends ControlledPwmServlet
         }
         catch ( Exception e )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
             pwmRequest.respondWithError( errorInformation );
         }
         finally
@@ -275,7 +275,7 @@ public class AdminServlet extends ControlledPwmServlet
         }
         catch ( Exception e )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
             pwmRequest.respondWithError( errorInformation );
         }
         finally
@@ -304,7 +304,7 @@ public class AdminServlet extends ControlledPwmServlet
         }
         catch ( Exception e )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
             pwmRequest.respondWithError( errorInformation );
         }
         finally
@@ -332,7 +332,7 @@ public class AdminServlet extends ControlledPwmServlet
         }
         catch ( Exception e )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
             pwmRequest.respondWithError( errorInformation );
         }
         finally
@@ -462,7 +462,7 @@ public class AdminServlet extends ControlledPwmServlet
         }
         else
         {
-            pwmRequest.respondWithError( new ErrorInformation( PwmError.ERROR_UNKNOWN, "no previously searched user available for download" ) );
+            pwmRequest.respondWithError( new ErrorInformation( PwmError.ERROR_INTERNAL, "no previously searched user available for download" ) );
         }
 
         return ProcessStatus.Halt;
@@ -535,7 +535,7 @@ public class AdminServlet extends ControlledPwmServlet
         }
         catch ( PwmException e )
         {
-            final ErrorInformation errorInfo = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+            final ErrorInformation errorInfo = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
             LOGGER.debug( pwmRequest, errorInfo );
             pwmRequest.outputJsonResult( RestResultBean.fromError( errorInfo ) );
         }

+ 2 - 2
server/src/main/java/password/pwm/http/servlet/configeditor/ConfigEditorServlet.java

@@ -221,7 +221,7 @@ public class ConfigEditorServlet extends ControlledPwmServlet
             }
             else
             {
-                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "error performing user search: " + e.getMessage() );
+                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "error performing user search: " + e.getMessage() );
                 restResultBean = RestResultBean.fromError( errorInformation, pwmRequest );
             }
             pwmRequest.outputJsonResult( restResultBean );
@@ -286,7 +286,7 @@ public class ConfigEditorServlet extends ControlledPwmServlet
         {
             final String errorStr = "readSettingAsString request for unknown key: " + key;
             LOGGER.warn( errorStr );
-            pwmRequest.outputJsonResult( RestResultBean.fromError( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorStr ) ) );
+            pwmRequest.outputJsonResult( RestResultBean.fromError( new ErrorInformation( PwmError.ERROR_INTERNAL, errorStr ) ) );
             return ProcessStatus.Halt;
         }
         else

+ 2 - 2
server/src/main/java/password/pwm/http/servlet/configeditor/ConfigEditorServletUtils.java

@@ -63,7 +63,7 @@ public class ConfigEditorServletUtils
         }
         catch ( Throwable e )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "error during file upload: " + e.getMessage() );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "error during file upload: " + e.getMessage() );
             pwmRequest.outputJsonResult( RestResultBean.fromError( errorInformation, pwmRequest ) );
             LOGGER.error( pwmRequest, errorInformation );
             return null;
@@ -79,7 +79,7 @@ public class ConfigEditorServletUtils
             return new FileValue( newFileValueMap );
         }
 
-        final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "no file found in upload" );
+        final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "no file found in upload" );
         pwmRequest.outputJsonResult( RestResultBean.fromError( errorInformation, pwmRequest ) );
         LOGGER.error( pwmRequest, "error during file upload: " + errorInformation.toDebugStr() );
         return null;

+ 3 - 3
server/src/main/java/password/pwm/http/servlet/configguide/ConfigGuideServlet.java

@@ -368,7 +368,7 @@ public class ConfigGuideServlet extends ControlledPwmServlet
         }
         catch ( Exception e )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "error while testing matches = " + e.getMessage() );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "error while testing matches = " + e.getMessage() );
             LOGGER.error( pwmRequest, errorInformation );
             pwmRequest.respondWithError( errorInformation );
         }
@@ -494,7 +494,7 @@ public class ConfigGuideServlet extends ControlledPwmServlet
             catch ( Exception e )
             {
                 final RestResultBean restResultBean = RestResultBean.fromError( new ErrorInformation(
-                        PwmError.ERROR_UNKNOWN,
+                        PwmError.ERROR_INTERNAL,
                         "error during save: " + e.getMessage()
                 ), pwmRequest );
                 pwmRequest.outputJsonResult( restResultBean );
@@ -528,7 +528,7 @@ public class ConfigGuideServlet extends ControlledPwmServlet
         }
         catch ( Exception e )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
             pwmRequest.outputJsonResult( RestResultBean.fromError( errorInformation, pwmRequest ) );
             LOGGER.error( pwmRequest, e.getMessage(), e );
         }

+ 2 - 2
server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerLocalDBServlet.java

@@ -175,7 +175,7 @@ public class ConfigManagerLocalDBServlet extends AbstractPwmServlet
 
         if ( !ServletFileUpload.isMultipartContent( req ) )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "no file found in upload" );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "no file found in upload" );
             pwmRequest.outputJsonResult( RestResultBean.fromError( errorInformation, pwmRequest ) );
             LOGGER.error( pwmRequest, "error during database import: " + errorInformation.toDebugStr() );
             return;
@@ -202,7 +202,7 @@ public class ConfigManagerLocalDBServlet extends AbstractPwmServlet
         {
             final ErrorInformation errorInformation = e instanceof PwmException
                     ? ( ( PwmException ) e ).getErrorInformation()
-                    : new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+                    : new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
             pwmRequest.outputJsonResult( RestResultBean.fromError( errorInformation, pwmRequest ) );
             LOGGER.error( pwmRequest, "error during LocalDB import: " + errorInformation.toDebugStr() );
             return;

+ 2 - 2
server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerServlet.java

@@ -277,7 +277,7 @@ public class ConfigManagerServlet extends AbstractPwmServlet
         }
         catch ( Exception e )
         {
-            final ErrorInformation errorInfo = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+            final ErrorInformation errorInfo = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
             final RestResultBean restResultBean = RestResultBean.fromError( errorInfo, pwmRequest );
             LOGGER.debug( pwmSession, errorInfo.toDebugStr() );
             pwmRequest.outputJsonResult( restResultBean );
@@ -469,7 +469,7 @@ public class ConfigManagerServlet extends AbstractPwmServlet
         }
         catch ( Exception e )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
             LOGGER.error( pwmRequest, errorInformation );
             pwmRequest.respondWithError( errorInformation );
         }

+ 4 - 4
server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerWordlistServlet.java

@@ -140,7 +140,7 @@ public class ConfigManagerWordlistServlet extends AbstractPwmServlet
 
         if ( wordlistType == null )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "unknown wordlist type: " + wordlistTypeParam );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "unknown wordlist type: " + wordlistTypeParam );
             pwmRequest.outputJsonResult( RestResultBean.fromError( errorInformation, pwmRequest ) );
             LOGGER.error( pwmRequest, "error during import: " + errorInformation.toDebugStr() );
             return;
@@ -148,7 +148,7 @@ public class ConfigManagerWordlistServlet extends AbstractPwmServlet
 
         if ( !ServletFileUpload.isMultipartContent( req ) )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "no file found in upload" );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "no file found in upload" );
             pwmRequest.outputJsonResult( RestResultBean.fromError( errorInformation, pwmRequest ) );
             LOGGER.error( pwmRequest, "error during import: " + errorInformation.toDebugStr() );
             return;
@@ -162,7 +162,7 @@ public class ConfigManagerWordlistServlet extends AbstractPwmServlet
         }
         catch ( PwmUnrecoverableException e )
         {
-            final ErrorInformation errorInfo = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+            final ErrorInformation errorInfo = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
             final RestResultBean restResultBean = RestResultBean.fromError( errorInfo, pwmRequest );
             LOGGER.debug( pwmRequest, errorInfo.toDebugStr() );
             pwmRequest.outputJsonResult( restResultBean );
@@ -180,7 +180,7 @@ public class ConfigManagerWordlistServlet extends AbstractPwmServlet
 
         if ( wordlistType == null )
         {
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "unknown wordlist type: " + wordlistTypeParam );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "unknown wordlist type: " + wordlistTypeParam );
             pwmRequest.outputJsonResult( RestResultBean.fromError( errorInformation, pwmRequest ) );
             LOGGER.error( pwmRequest, "error during clear: " + errorInformation.toDebugStr() );
             return;

+ 5 - 5
server/src/main/java/password/pwm/http/servlet/forgottenpw/ForgottenPasswordServlet.java

@@ -747,7 +747,7 @@ public class ForgottenPasswordServlet extends ControlledPwmServlet
         if ( responseSet == null )
         {
             final String errorMsg = "attempt to check responses, but responses are not loaded into session bean";
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             throw new PwmUnrecoverableException( errorInformation );
         }
 
@@ -1090,7 +1090,7 @@ public class ForgottenPasswordServlet extends ControlledPwmServlet
         final UserInfo userInfo = ForgottenPasswordUtil.readUserInfo( pwmRequest, forgottenPasswordBean );
         if ( userInfo == null )
         {
-            throw PwmUnrecoverableException.newException( PwmError.ERROR_UNKNOWN, "unable to load userInfo while processing forgotten password controller" );
+            throw PwmUnrecoverableException.newException( PwmError.ERROR_INTERNAL, "unable to load userInfo while processing forgotten password controller" );
         }
 
         // check if user's pw is within min lifetime window
@@ -1300,7 +1300,7 @@ public class ForgottenPasswordServlet extends ControlledPwmServlet
             catch ( PwmOperationalException e )
             {
                 final ErrorInformation info = new ErrorInformation(
-                        PwmError.ERROR_UNKNOWN,
+                        PwmError.ERROR_INTERNAL,
                         e.getErrorInformation().getDetailedErrorMsg(), e.getErrorInformation().getFieldValues()
                 );
                 final PwmUnrecoverableException newException = new PwmUnrecoverableException( info );
@@ -1380,7 +1380,7 @@ public class ForgottenPasswordServlet extends ControlledPwmServlet
         {
             clearForgottenPasswordBean( pwmRequest );
             final ErrorInformation errorInformation = new ErrorInformation(
-                    PwmError.ERROR_UNKNOWN,
+                    PwmError.ERROR_INTERNAL,
                     "unexpected error while re-loading user data due to locale change: " + e.getErrorInformation().toDebugStr()
             );
             LOGGER.error( pwmRequest, errorInformation.toDebugStr() );
@@ -1402,7 +1402,7 @@ public class ForgottenPasswordServlet extends ControlledPwmServlet
             case PREVIOUS_AUTH:
             {
                 throw new PwmUnrecoverableException( new ErrorInformation(
-                        PwmError.ERROR_UNKNOWN,
+                        PwmError.ERROR_INTERNAL,
                         "previous authentication is required, but user has not previously authenticated" )
                 );
             }

+ 2 - 2
server/src/main/java/password/pwm/http/servlet/forgottenpw/ForgottenPasswordUtil.java

@@ -537,7 +537,7 @@ public class ForgottenPasswordUtil
         catch ( ChaiOperationException e )
         {
             final ErrorInformation errorInformation = new ErrorInformation(
-                    PwmError.ERROR_UNKNOWN,
+                    PwmError.ERROR_INTERNAL,
                     "unexpected ldap error while processing recovery action " + recoveryAction + ", error: " + e.getMessage()
             );
             LOGGER.warn( pwmRequest, errorInformation.toDebugStr() );
@@ -751,7 +751,7 @@ public class ForgottenPasswordUtil
             }
             catch ( ChaiOperationException e )
             {
-                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN,
+                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL,
                         "error checking user '" + userInfo.getUserIdentity() + "' ldap intruder lock status: " + e.getMessage() );
                 LOGGER.error( sessionLabel, errorInformation );
                 throw new PwmUnrecoverableException( errorInformation );

+ 3 - 3
server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskServlet.java

@@ -254,7 +254,7 @@ public class HelpdeskServlet extends ControlledPwmServlet
         if ( action == null )
         {
             final String errorMsg = "request to execute unknown action: " + requestedName;
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             LOGGER.debug( pwmRequest, errorInformation.toDebugStr() );
             final RestResultBean restResultBean = RestResultBean.fromError( errorInformation, pwmRequest );
             pwmRequest.outputJsonResult( restResultBean );
@@ -355,7 +355,7 @@ public class HelpdeskServlet extends ControlledPwmServlet
         catch ( ChaiOperationException e )
         {
             final String errorMsg = "error while attempting to delete user " + userIdentity.toString() + ", error: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             LOGGER.debug( pwmRequest, errorMsg );
             pwmRequest.outputJsonResult( RestResultBean.fromError( errorInformation, pwmRequest ) );
             return ProcessStatus.Halt;
@@ -556,7 +556,7 @@ public class HelpdeskServlet extends ControlledPwmServlet
         }
         catch ( ChaiOperationException e )
         {
-            final PwmError returnMsg = PwmError.forChaiError( e.getErrorCode() ) == null ? PwmError.ERROR_UNKNOWN : PwmError.forChaiError( e.getErrorCode() );
+            final PwmError returnMsg = PwmError.forChaiError( e.getErrorCode() ) == null ? PwmError.ERROR_INTERNAL : PwmError.forChaiError( e.getErrorCode() );
             final ErrorInformation error = new ErrorInformation( returnMsg, e.getMessage() );
             pwmRequest.respondWithError( error );
             LOGGER.warn( pwmRequest, "error resetting password for user '" + userIdentity.toDisplayString() + "'' " + error.toDebugStr() + ", " + e.getMessage() );

+ 1 - 1
server/src/main/java/password/pwm/http/servlet/oauth/OAuthMachine.java

@@ -137,7 +137,7 @@ public class OAuthMachine
         catch ( PwmUnrecoverableException e )
         {
             final String errorMsg = "unexpected error redirecting user to oauth page: " + e.toString();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             throw new PwmUnrecoverableException( errorInformation );
         }
     }

+ 3 - 3
server/src/main/java/password/pwm/http/state/CryptoCookieLoginImpl.java

@@ -84,7 +84,7 @@ class CryptoCookieLoginImpl implements SessionLoginProvider
         catch ( PwmUnrecoverableException e )
         {
             final String errorMsg = "unexpected error writing login cookie to response: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             LOGGER.error( pwmRequest, errorInformation );
         }
     }
@@ -128,7 +128,7 @@ class CryptoCookieLoginImpl implements SessionLoginProvider
             catch ( Exception e )
             {
                 final String errorMsg = "unexpected error authenticating using crypto session cookie: " + e.getMessage();
-                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
                 LOGGER.error( pwmRequest, errorInformation );
                 throw new PwmUnrecoverableException( errorInformation );
             }
@@ -194,7 +194,7 @@ class CryptoCookieLoginImpl implements SessionLoginProvider
                 catch ( Exception e )
                 {
                     final String errorMsg = "unexpected error reading session cookie: " + e.getMessage();
-                    final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+                    final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
                     LOGGER.error( pwmRequest, errorInformation );
                     throw new PwmUnrecoverableException( errorInformation );
                 }

+ 1 - 1
server/src/main/java/password/pwm/http/state/SessionStateService.java

@@ -214,7 +214,7 @@ public class SessionStateService implements PwmService
         {
             final String errorMsg = "unexpected error trying to instantiate bean class " + theClass.getName() + ": " + e.getMessage();
             LOGGER.error( errorMsg, e );
-            throw PwmUnrecoverableException.newException( PwmError.ERROR_UNKNOWN, errorMsg );
+            throw PwmUnrecoverableException.newException( PwmError.ERROR_INTERNAL, errorMsg );
         }
     }
 }

+ 1 - 1
server/src/main/java/password/pwm/ldap/LdapConnectionService.java

@@ -199,7 +199,7 @@ public class LdapConnectionService implements PwmService
         catch ( Exception e )
         {
             final String errorMsg = "unexpected error creating new proxy ldap connection: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             LOGGER.error( errorInformation );
             throw new PwmUnrecoverableException( errorInformation );
         }

+ 5 - 5
server/src/main/java/password/pwm/ldap/LdapOperationsHelper.java

@@ -177,7 +177,7 @@ public class LdapOperationsHelper
             final StringBuilder errorMsg = new StringBuilder();
             errorMsg.append( "error connecting as proxy user: " );
             final PwmError pwmError = PwmError.forChaiError( e.getErrorCode() );
-            if ( pwmError != null && pwmError != PwmError.ERROR_UNKNOWN )
+            if ( pwmError != null && pwmError != PwmError.ERROR_INTERNAL )
             {
                 errorMsg.append( new ErrorInformation( pwmError, e.getMessage() ).toDebugStr() );
             }
@@ -289,7 +289,7 @@ public class LdapOperationsHelper
                     }
                     catch ( IOException e )
                     {
-                        throw PwmUnrecoverableException.newException( PwmError.ERROR_UNKNOWN, "error processing binary form value: " + e.getMessage() );
+                        throw PwmUnrecoverableException.newException( PwmError.ERROR_INTERNAL, "error processing binary form value: " + e.getMessage() );
                     }
 
                     final byte[] existingBytes;
@@ -543,7 +543,7 @@ public class LdapOperationsHelper
             if ( newGuid == null )
             {
                 throw new PwmUnrecoverableException( new ErrorInformation(
-                        PwmError.ERROR_UNKNOWN,
+                        PwmError.ERROR_INTERNAL,
                         "unable to generate unique GUID value for user " + userIdentity )
                 );
             }
@@ -561,7 +561,7 @@ public class LdapOperationsHelper
             {
                 final String errorMsg = "unable to write GUID value to user attribute " + guidAttributeName + " : " + e.getMessage()
                         + ", cannot write GUID value to user " + userIdentity;
-                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
                 LOGGER.error( errorInformation.toDebugStr() );
                 throw new PwmUnrecoverableException( errorInformation );
             }
@@ -977,7 +977,7 @@ public class LdapOperationsHelper
         }
         catch ( IOException | ChaiOperationException e )
         {
-            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "error reading user photo ldap attribute: " + e.getMessage() ) );
+            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL, "error reading user photo ldap attribute: " + e.getMessage() ) );
         }
         return new PhotoDataBean( mimeType, new ImmutableByteArray( photoData ) );
     }

+ 2 - 2
server/src/main/java/password/pwm/ldap/LdapPermissionTester.java

@@ -124,7 +124,7 @@ public class LdapPermissionTester
             }
 
             default:
-                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "unknown permission type: " + userPermission.getType() ) );
+                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "unknown permission type: " + userPermission.getType() ) );
         }
     }
 
@@ -278,7 +278,7 @@ public class LdapPermissionTester
 
                     default:
                         throw new PwmUnrecoverableException( new ErrorInformation(
-                                PwmError.ERROR_UNKNOWN,
+                                PwmError.ERROR_INTERNAL,
                                 "unknown permission type: " + userPermission.getType() )
                         );
                 }

+ 3 - 3
server/src/main/java/password/pwm/ldap/auth/LDAPAuthenticationRequest.java

@@ -148,7 +148,7 @@ class LDAPAuthenticationRequest implements AuthenticationRequest
             }
             if ( userPassword == null )
             {
-                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "no available unknown-pw authentication method" ) );
+                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "no available unknown-pw authentication method" ) );
             }
         }
 
@@ -170,7 +170,7 @@ class LDAPAuthenticationRequest implements AuthenticationRequest
                 throw new PwmUnrecoverableException(
                         new ErrorInformation( PwmError.ERROR_BAD_SESSION_PASSWORD, errorStr ) );
             }
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "unable to authenticate via authWithUnknownPw method: " + e.getMessage() ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "unable to authenticate via authWithUnknownPw method: " + e.getMessage() ) );
         }
     }
 
@@ -395,7 +395,7 @@ class LDAPAuthenticationRequest implements AuthenticationRequest
             }
             final PwmError pwmError = PwmError.forChaiError( e.getErrorCode() );
             final ErrorInformation errorInformation;
-            if ( pwmError != null && PwmError.ERROR_UNKNOWN != pwmError )
+            if ( pwmError != null && PwmError.ERROR_INTERNAL != pwmError )
             {
                 errorInformation = new ErrorInformation( pwmError, e.getMessage() );
             }

+ 1 - 1
server/src/main/java/password/pwm/ldap/auth/SimpleLdapAuthenticator.java

@@ -81,7 +81,7 @@ public class SimpleLdapAuthenticator
         }
 
         final ErrorInformation errorInformation = new ErrorInformation(
-                PwmError.ERROR_UNKNOWN,
+                PwmError.ERROR_INTERNAL,
                 "auth with unexpected auth type: " + authResult.getAuthenticationType()
         );
         LOGGER.error( errorInformation );

+ 1 - 1
server/src/main/java/password/pwm/ldap/schema/EdirSchemaExtender.java

@@ -127,7 +127,7 @@ public class EdirSchemaExtender implements SchemaExtender
         }
         catch ( ChaiOperationException e )
         {
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() ) );
         }
 
     }

+ 1 - 1
server/src/main/java/password/pwm/ldap/schema/SchemaManager.java

@@ -83,7 +83,7 @@ public class SchemaManager
         {
             final String errorMsg = "error instantiating schema extender: " + e.getMessage();
             LOGGER.error( errorMsg );
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
         }
 
     }

+ 4 - 4
server/src/main/java/password/pwm/ldap/search/UserSearchEngine.java

@@ -560,7 +560,7 @@ public class UserSearchEngine implements PwmService
         final Map<String, String> selectableContexts = profile.getSelectableContexts( pwmApplication );
         if ( selectableContexts == null || selectableContexts.isEmpty() )
         {
-            throw new PwmOperationalException( PwmError.ERROR_UNKNOWN, "context specified, but no selectable contexts are configured" );
+            throw new PwmOperationalException( PwmError.ERROR_INTERNAL, "context specified, but no selectable contexts are configured" );
         }
 
         for ( final String loopContext : selectableContexts.keySet() )
@@ -571,7 +571,7 @@ public class UserSearchEngine implements PwmService
             }
         }
 
-        throw new PwmOperationalException( PwmError.ERROR_UNKNOWN, "context '" + context + "' is specified, but is not in configuration" );
+        throw new PwmOperationalException( PwmError.ERROR_INTERNAL, "context '" + context + "' is specified, but is not in configuration" );
     }
 
     private boolean checkIfStringIsDN(
@@ -723,7 +723,7 @@ public class UserSearchEngine implements PwmService
                     final String errorMsg = "unexpected interruption during search job execution: " + e.getMessage();
                     log( PwmLogLevel.WARN, sessionLabel, searchID, jobInfo.getJobID(), errorMsg );
                     LOGGER.error( sessionLabel, errorMsg, e );
-                    throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+                    throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
                 }
                 catch ( ExecutionException e )
                 {
@@ -738,7 +738,7 @@ public class UserSearchEngine implements PwmService
                     }
                     else
                     {
-                        errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+                        errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
                     }
                     log( PwmLogLevel.WARN, sessionLabel, searchID, jobInfo.getJobID(), "error during user search: " + errorInformation.toDebugStr() );
                     throw new PwmUnrecoverableException( errorInformation );

+ 1 - 1
server/src/main/java/password/pwm/svc/cache/MemoryCacheStore.java

@@ -138,7 +138,7 @@ class MemoryCacheStore implements CacheStore
             final CacheValueWrapper cacheValueWrapper = entry.getValue();
             final Instant storeDate = cacheValueWrapper.getExpirationDate();
             final String age = Duration.between( storeDate, Instant.now() ).toString();
-            final int chars = JsonUtil.serialize( cacheValueWrapper.getPayload() ).length();
+            final int chars = cacheValueWrapper.getPayload().length();
             final String keyClass = cacheKey.getSrcClass() == null ? "null" : cacheKey.getSrcClass().getName();
             final String keyUserID = cacheKey.getUserIdentity() == null ? "null" : cacheKey.getUserIdentity().toDisplayString();
             final String keyValue = cacheKey.getValueID() == null ? "null" : cacheKey.getValueID();

+ 1 - 1
server/src/main/java/password/pwm/svc/event/AuditService.java

@@ -161,7 +161,7 @@ public class AuditService implements PwmService
                     break;
 
                 default:
-                    lastError = new ErrorInformation( PwmError.ERROR_UNKNOWN, "unknown storageMethod selected: " + userEventStorageMethod );
+                    lastError = new ErrorInformation( PwmError.ERROR_INTERNAL, "unknown storageMethod selected: " + userEventStorageMethod );
                     status = STATUS.CLOSED;
                     return;
             }

+ 1 - 1
server/src/main/java/password/pwm/svc/event/LdapXmlUserHistory.java

@@ -129,7 +129,7 @@ class LdapXmlUserHistory implements UserHistoryStore
         catch ( Exception e )
         {
             final String errorMsg = "error reading LDAP user event history for user " + userIdentity.toDisplayString() + ", error: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             LOGGER.error( errorInformation.toDebugStr(), e );
             throw new PwmUnrecoverableException( errorInformation, e );
         }

+ 1 - 1
server/src/main/java/password/pwm/svc/intruder/DataStoreRecordStore.java

@@ -125,7 +125,7 @@ class DataStoreRecordStore implements RecordStore
         }
         catch ( PwmDataStoreException e )
         {
-            throw new PwmOperationalException( PwmError.ERROR_UNKNOWN, "iterator unavailable:" + e.getMessage() );
+            throw new PwmOperationalException( PwmError.ERROR_INTERNAL, "iterator unavailable:" + e.getMessage() );
         }
     }
 

+ 1 - 1
server/src/main/java/password/pwm/svc/intruder/IntruderManager.java

@@ -161,7 +161,7 @@ public class IntruderManager implements PwmService
                     break;
 
                 default:
-                    startupError = new ErrorInformation( PwmError.ERROR_UNKNOWN, "unknown storageMethod selected: " + intruderStorageMethod );
+                    startupError = new ErrorInformation( PwmError.ERROR_INTERNAL, "unknown storageMethod selected: " + intruderStorageMethod );
                     status = STATUS.CLOSED;
                     return;
             }

+ 1 - 1
server/src/main/java/password/pwm/svc/intruder/RecordManagerImpl.java

@@ -168,7 +168,7 @@ class RecordManagerImpl implements RecordManager
         }
         catch ( PwmUnrecoverableException e )
         {
-            throw new PwmOperationalException( PwmError.ERROR_UNKNOWN, "error generating md5sum for intruder record: " + e.getMessage() );
+            throw new PwmOperationalException( PwmError.ERROR_INTERNAL, "error generating md5sum for intruder record: " + e.getMessage() );
         }
         return hash + recordType.toString();
     }

+ 1 - 1
server/src/main/java/password/pwm/svc/pwnotify/PwNotifyService.java

@@ -292,7 +292,7 @@ public class PwNotifyService implements PwmService
                 }
                 else
                 {
-                    errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "error " + e.getMessage() );
+                    errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "error " + e.getMessage() );
                 }
 
                 final Instant finish = Instant.now();

+ 1 - 1
server/src/main/java/password/pwm/svc/sessiontrack/UserAgentUtils.java

@@ -54,7 +54,7 @@ public class UserAgentUtils
             {
                 final String msg = "error loading user-agent parser: " + e.getMessage();
                 LOGGER.error( msg, e );
-                throw new PwmUnrecoverableException( PwmError.ERROR_UNKNOWN, msg );
+                throw new PwmUnrecoverableException( PwmError.ERROR_INTERNAL, msg );
             }
         }
         return cachedParser;

+ 2 - 2
server/src/main/java/password/pwm/svc/telemetry/TelemetryService.java

@@ -169,7 +169,7 @@ public class TelemetryService implements PwmService
         catch ( Exception e )
         {
             final String msg = "unable to load implementation class: " + e.getMessage();
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, msg ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, msg ) );
         }
 
         try
@@ -180,7 +180,7 @@ public class TelemetryService implements PwmService
         catch ( Exception e )
         {
             final String msg = "unable to init implementation class: " + e.getMessage();
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, msg ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, msg ) );
         }
         sender = telemetrySender;
     }

+ 2 - 2
server/src/main/java/password/pwm/svc/token/LdapTokenMachine.java

@@ -141,7 +141,7 @@ class LdapTokenMachine implements TokenMachine
         catch ( ChaiException e )
         {
             final String errorMsg = "unexpected ldap error saving token: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             throw new PwmOperationalException( errorInformation );
         }
     }
@@ -161,7 +161,7 @@ class LdapTokenMachine implements TokenMachine
             catch ( ChaiException e )
             {
                 final String errorMsg = "unexpected ldap error removing token: " + e.getMessage();
-                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
                 throw new PwmOperationalException( errorInformation );
             }
         }

+ 1 - 1
server/src/main/java/password/pwm/svc/token/TokenService.java

@@ -463,7 +463,7 @@ public class TokenService implements PwmService
 
         if ( tokenKey == null )
         {
-            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "unable to generate a unique token key after " + attempts + " attempts" ) );
+            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL, "unable to generate a unique token key after " + attempts + " attempts" ) );
         }
 
         LOGGER.trace( sessionLabel, "created new unique random token value after " + attempts + " attempts" );

+ 4 - 4
server/src/main/java/password/pwm/svc/wordlist/AbstractWordlist.java

@@ -557,7 +557,7 @@ abstract class AbstractWordlist implements Wordlist, PwmService
                     }
                     if ( populator.isRunning() && TimeDuration.fromCurrent( startWaitTime ).isShorterThan( maxWaitMs ) )
                     {
-                        throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "unable to abort populator" ) );
+                        throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "unable to abort populator" ) );
                     }
                 }
 
@@ -577,7 +577,7 @@ abstract class AbstractWordlist implements Wordlist, PwmService
                 final ErrorInformation populationError;
                 populationError = e instanceof PwmException
                         ? ( ( PwmException ) e ).getErrorInformation()
-                        : new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+                        : new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
                 logger.error( "error during wordlist population: " + populationError.toDebugStr() );
                 throw new PwmUnrecoverableException( populationError );
             }
@@ -623,7 +623,7 @@ abstract class AbstractWordlist implements Wordlist, PwmService
             }
             catch ( Exception e )
             {
-                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, "error during remote wordlist import: " + e.getMessage() );
+                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, "error during remote wordlist import: " + e.getMessage() );
                 logger.error( errorInformation );
                 autoImportError = errorInformation;
             }
@@ -653,7 +653,7 @@ abstract class AbstractWordlist implements Wordlist, PwmService
             catch ( Exception e )
             {
                 final ErrorInformation errorInformation = new ErrorInformation(
-                        PwmError.ERROR_UNKNOWN,
+                        PwmError.ERROR_INTERNAL,
                         "error reading from remote wordlist auto-import url: " + JavaHelper.readHostileExceptionMessage( e )
                 );
                 logger.error( errorInformation );

+ 2 - 2
server/src/main/java/password/pwm/svc/wordlist/Populator.java

@@ -253,7 +253,7 @@ class Populator
         final int wordlistSize = localDB.size( rootWordlist.getWordlistDB() );
         if ( wordlistSize < 1 )
         {
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, rootWordlist.debugLabel + " population completed, but no words stored" ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, rootWordlist.debugLabel + " population completed, but no words stored" ) );
         }
 
         final StringBuilder sb = new StringBuilder();
@@ -286,7 +286,7 @@ class Populator
         }
         if ( isRunning() && TimeDuration.fromCurrent( startWaitTime ).isShorterThan( maxWaitMs ) )
         {
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "unable to abort in progress population" ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "unable to abort in progress population" ) );
         }
 
     }

+ 1 - 1
server/src/main/java/password/pwm/util/CASFilterAuthenticationProvider.java

@@ -117,7 +117,7 @@ public class CASFilterAuthenticationProvider implements PwmHttpFilterAuthenticat
         }
         catch ( UnsupportedEncodingException e )
         {
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "error during CAS authentication: " + e.getMessage() ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "error during CAS authentication: " + e.getMessage() ) );
         }
     }
 

+ 1 - 1
server/src/main/java/password/pwm/util/LDAPPermissionCalculator.java

@@ -219,7 +219,7 @@ public class LDAPPermissionCalculator implements Serializable
 
                 default:
                     throw new PwmUnrecoverableException( new ErrorInformation(
-                            PwmError.ERROR_UNKNOWN,
+                            PwmError.ERROR_INTERNAL,
                             "no ldap permission record reader handler for setting " + pwmSetting.getKey() )
                     );
 

+ 1 - 1
server/src/main/java/password/pwm/util/PasswordData.java

@@ -82,7 +82,7 @@ public class PasswordData implements Serializable
             }
             else
             {
-                newInitializationError = new ErrorInformation( PwmError.ERROR_UNKNOWN, "error initializing password data class: " + e.getMessage() );
+                newInitializationError = new ErrorInformation( PwmError.ERROR_INTERNAL, "error initializing password data class: " + e.getMessage() );
             }
         }
         STATIC_KEY = newKey;

+ 1 - 1
server/src/main/java/password/pwm/util/PwmPasswordRuleValidator.java

@@ -208,7 +208,7 @@ public class PwmPasswordRuleValidator
         if ( passwordString == null )
         {
             return Collections.singletonList( new ErrorInformation(
-                    PwmError.ERROR_UNKNOWN,
+                    PwmError.ERROR_INTERNAL,
                     "empty (null) new password" ) );
         }
 

+ 3 - 3
server/src/main/java/password/pwm/util/RandomPasswordGenerator.java

@@ -698,7 +698,7 @@ public class RandomPasswordGenerator
             if ( this.getMinimumLength() > maxLength )
             {
                 throw new PwmUnrecoverableException( new ErrorInformation(
-                        PwmError.ERROR_UNKNOWN,
+                        PwmError.ERROR_INTERNAL,
                         "minimum random generated password length exceeds preset random generator threshold"
                 ) );
             }
@@ -706,7 +706,7 @@ public class RandomPasswordGenerator
             if ( this.getMaximumLength() > maxLength )
             {
                 throw new PwmUnrecoverableException( new ErrorInformation(
-                        PwmError.ERROR_UNKNOWN,
+                        PwmError.ERROR_INTERNAL,
                         "maximum random generated password length exceeds preset random generator threshold"
                 ) );
             }
@@ -714,7 +714,7 @@ public class RandomPasswordGenerator
             if ( this.getMinimumStrength() > RandomGeneratorConfig.MAXIMUM_STRENGTH )
             {
                 throw new PwmUnrecoverableException( new ErrorInformation(
-                        PwmError.ERROR_UNKNOWN,
+                        PwmError.ERROR_INTERNAL,
                         "minimum random generated password strength exceeds maximum possible"
                 ) );
             }

+ 1 - 1
server/src/main/java/password/pwm/util/form/FormUtility.java

@@ -566,7 +566,7 @@ public class FormUtility
             {
                 error = PwmError.forChaiError( ( ( ChaiException ) e ).getErrorCode() );
             }
-            if ( error == null || error == PwmError.ERROR_UNKNOWN )
+            if ( error == null || error == PwmError.ERROR_INTERNAL )
             {
                 error = PwmError.ERROR_LDAP_DATA_ERROR;
             }

+ 1 - 1
server/src/main/java/password/pwm/util/localdb/AbstractJDBCLocalDB.java

@@ -298,7 +298,7 @@ public abstract class AbstractJDBCLocalDB implements LocalDBProvider
         {
             if ( dbIterators.size() > ITERATOR_LIMIT )
             {
-                throw new LocalDBException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "over " + ITERATOR_LIMIT + " iterators are outstanding, maximum limit exceeded" ) );
+                throw new LocalDBException( new ErrorInformation( PwmError.ERROR_INTERNAL, "over " + ITERATOR_LIMIT + " iterators are outstanding, maximum limit exceeded" ) );
             }
 
             final LocalDB.LocalDBIterator iterator = new DbIterator( db );

+ 1 - 1
server/src/main/java/password/pwm/util/localdb/BerkeleyLocalDB.java

@@ -270,7 +270,7 @@ public class BerkeleyLocalDB
         try {
             lockMap.get(db).readLock().lock();
             if (dbIterators.size() > ITERATOR_LIMIT) {
-                throw new LocalDBException(new ErrorInformation(PwmError.ERROR_UNKNOWN,"over " + ITERATOR_LIMIT + " iterators are outstanding, maximum limit exceeded"));
+                throw new LocalDBException(new ErrorInformation(PwmError.ERROR_INTERNAL,"over " + ITERATOR_LIMIT + " iterators are outstanding, maximum limit exceeded"));
             }
             final BerkeleyDbIterator<String> iterator = new BerkeleyDbIterator<>(db);
             dbIterators.add(iterator);

+ 5 - 4
server/src/main/java/password/pwm/util/localdb/LocalDBAdaptor.java

@@ -450,14 +450,14 @@ public class LocalDBAdaptor implements LocalDB
                 throw new NullPointerException( "key cannot be null" );
             }
 
-            if ( key.length() < 0 )
+            if ( key.length() <= 0 )
             {
-                throw new LocalDBException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "key length cannot be zero length" ) );
+                throw new LocalDBException( new ErrorInformation( PwmError.ERROR_INTERNAL, "key length cannot be zero length" ) );
             }
 
             if ( key.length() > LocalDB.MAX_KEY_LENGTH )
             {
-                throw new LocalDBException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "key length " + key.length() + " is greater than max " + LocalDB.MAX_KEY_LENGTH ) );
+                throw new LocalDBException( new ErrorInformation( PwmError.ERROR_INTERNAL, "key length " + key.length() + " is greater than max " + LocalDB.MAX_KEY_LENGTH ) );
             }
         }
 
@@ -470,7 +470,8 @@ public class LocalDBAdaptor implements LocalDB
 
             if ( value.length() > LocalDB.MAX_VALUE_LENGTH )
             {
-                throw new LocalDBException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "value length " + value.length() + " is greater than max " + LocalDB.MAX_VALUE_LENGTH ) );
+                final String errorMsg = "value length " + value.length() + " is greater than max " + LocalDB.MAX_VALUE_LENGTH;
+                throw new LocalDBException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
             }
         }
     }

+ 4 - 4
server/src/main/java/password/pwm/util/localdb/LocalDBUtility.java

@@ -80,7 +80,7 @@ public class LocalDBUtility
     {
         if ( outputStream == null )
         {
-            throw new PwmOperationalException( PwmError.ERROR_UNKNOWN, "outputFileStream for exportLocalDB cannot be null" );
+            throw new PwmOperationalException( PwmError.ERROR_INTERNAL, "outputFileStream for exportLocalDB cannot be null" );
         }
 
 
@@ -191,19 +191,19 @@ public class LocalDBUtility
     {
         if ( inputFile == null )
         {
-            throw new PwmOperationalException( PwmError.ERROR_UNKNOWN, "inputFile for importLocalDB cannot be null" );
+            throw new PwmOperationalException( PwmError.ERROR_INTERNAL, "inputFile for importLocalDB cannot be null" );
         }
 
         if ( !inputFile.exists() )
         {
-            throw new PwmOperationalException( PwmError.ERROR_UNKNOWN, "inputFile for importLocalDB does not exist" );
+            throw new PwmOperationalException( PwmError.ERROR_INTERNAL, "inputFile for importLocalDB does not exist" );
         }
 
         final long totalBytes = inputFile.length();
 
         if ( totalBytes <= 0 )
         {
-            throw new PwmOperationalException( PwmError.ERROR_UNKNOWN, "inputFile for importLocalDB is empty" );
+            throw new PwmOperationalException( PwmError.ERROR_INTERNAL, "inputFile for importLocalDB is empty" );
         }
 
         try ( InputStream inputStream = new FileInputStream( inputFile ) )

+ 3 - 3
server/src/main/java/password/pwm/util/localdb/WorkQueueProcessor.java

@@ -239,7 +239,7 @@ public final class WorkQueueProcessor<W extends Serializable>
         if ( workerThread == null )
         {
             final String errorMsg = this.getClass().getName() + " has been closed, unable to submit new item";
-            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
         }
 
         final String asString = JsonUtil.serialize( itemWrapper );
@@ -253,7 +253,7 @@ public final class WorkQueueProcessor<W extends Serializable>
                 {
                     final String errorMsg = "unable to submit item to worker queue after " + settings.getMaxSubmitWaitTime().asCompactString()
                             + ", item=" + itemProcessor.convertToDebugString( itemWrapper.getWorkItem() );
-                    throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+                    throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
                 }
                 JavaHelper.pause( SUBMIT_QUEUE_FULL_RETRY_CYCLE_INTERVAL.asMillis() );
             }
@@ -510,7 +510,7 @@ public final class WorkQueueProcessor<W extends Serializable>
             }
             catch ( Exception e )
             {
-                throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "unexpected error deserializing work queue item: " + e.getMessage() ) );
+                throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL, "unexpected error deserializing work queue item: " + e.getMessage() ) );
             }
         }
 

+ 7 - 7
server/src/main/java/password/pwm/util/operations/ActionExecutor.java

@@ -118,7 +118,7 @@ public class ActionExecutor
             if ( settings.getUserIdentity() == null )
             {
                 final String errorMsg = "attempt to execute lap action but neither chaiUser or userIdentity is specified";
-                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
                 throw new PwmUnrecoverableException( errorInformation );
             }
             theUser = pwmApplication.getProxiedChaiUser( settings.getUserIdentity() );
@@ -128,7 +128,7 @@ public class ActionExecutor
         {
             if ( settings.getMacroMachine() == null )
             {
-                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "executor specified macro expansion but did not supply macro machine" ) );
+                throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "executor specified macro expansion but did not supply macro machine" ) );
             }
             final MacroMachine macroMachine = settings.getMacroMachine();
 
@@ -168,7 +168,7 @@ public class ActionExecutor
             {
                 if ( settings.getMacroMachine() == null )
                 {
-                    throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, "executor specified macro expansion but did not supply macro machine" ) );
+                    throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, "executor specified macro expansion but did not supply macro machine" ) );
                 }
                 final MacroMachine macroMachine = settings.getMacroMachine();
 
@@ -239,7 +239,7 @@ public class ActionExecutor
 
             final String errorMsg = "unexpected error during API execution: " + e.getMessage();
             LOGGER.error( errorMsg );
-            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
         }
     }
 
@@ -275,7 +275,7 @@ public class ActionExecutor
                 catch ( ChaiOperationException e )
                 {
                     final String errorMsg = "error setting '" + attrName + "' attribute on user " + theUser.getEntryDN() + ", error: " + e.getMessage();
-                    final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+                    final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
                     final PwmOperationalException newException = new PwmOperationalException( errorInformation );
                     newException.initCause( e );
                     throw newException;
@@ -293,7 +293,7 @@ public class ActionExecutor
                 catch ( ChaiOperationException e )
                 {
                     final String errorMsg = "error adding '" + attrName + "' attribute value from user " + theUser.getEntryDN() + ", error: " + e.getMessage();
-                    final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+                    final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
                     final PwmOperationalException newException = new PwmOperationalException( errorInformation );
                     newException.initCause( e );
                     throw newException;
@@ -312,7 +312,7 @@ public class ActionExecutor
                 catch ( ChaiOperationException e )
                 {
                     final String errorMsg = "error deletig '" + attrName + "' attribute value on user " + theUser.getEntryDN() + ", error: " + e.getMessage();
-                    final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+                    final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
                     final PwmOperationalException newException = new PwmOperationalException( errorInformation );
                     newException.initCause( e );
                     throw newException;

+ 1 - 1
server/src/main/java/password/pwm/util/operations/CrService.java

@@ -229,7 +229,7 @@ public class CrService implements PwmService
         {
             final String errorMsg = "unexpected error applying policies to nmas challengeset: " + e.getMessage();
             LOGGER.error( errorMsg, e );
-            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+            throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
         }
     }
 

+ 4 - 4
server/src/main/java/password/pwm/util/operations/PasswordUtility.java

@@ -166,7 +166,7 @@ public class PasswordUtility
         if ( toNumber == null || toNumber.length() < 1 )
         {
             final String errorMsg = String.format( "unable to send new password email for '%s'; no SMS number available in ldap", userInfo.getUserIdentity() );
-            return new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            return new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
         }
 
         message = message.replace( "%TOKEN%", newPassword.getStringValue() );
@@ -192,7 +192,7 @@ public class PasswordUtility
         if ( configuredEmailSetting == null )
         {
             final String errorMsg = "send password email contents are not configured";
-            return new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            return new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
         }
 
         final EmailItemBean emailItemBean = new EmailItemBean(
@@ -450,7 +450,7 @@ public class PasswordUtility
         catch ( ChaiOperationException e )
         {
             final String errorMsg = "error setting password for user '" + userIdentity.toDisplayString() + "'' " + e.getMessage();
-            final PwmError pwmError = PwmError.forChaiError( e.getErrorCode() ) == null ? PwmError.ERROR_UNKNOWN : PwmError.forChaiError( e.getErrorCode() );
+            final PwmError pwmError = PwmError.forChaiError( e.getErrorCode() ) == null ? PwmError.ERROR_INTERNAL : PwmError.forChaiError( e.getErrorCode() );
             final ErrorInformation error = new ErrorInformation( pwmError, errorMsg );
             throw new PwmOperationalException( error );
         }
@@ -687,7 +687,7 @@ public class PasswordUtility
             catch ( Exception e )
             {
                 LOGGER.error( pwmSession, "unexpected error during post change password action '" + postChangePasswordAction.getLabel() + "' " + e.getMessage(), e );
-                final ErrorInformation errorInfo = new ErrorInformation( PwmError.ERROR_UNKNOWN, e.getMessage() );
+                final ErrorInformation errorInfo = new ErrorInformation( PwmError.ERROR_INTERNAL, e.getMessage() );
                 throw new PwmUnrecoverableException( errorInfo );
             }
         }

+ 1 - 1
server/src/main/java/password/pwm/util/operations/cr/DbCrOperator.java

@@ -90,7 +90,7 @@ public class DbCrOperator implements CrOperator
         catch ( ChaiValidationException e )
         {
             final String errorMsg = "unexpected error reading responses for " + theUser.getEntryDN() + " from remote database: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             throw new PwmUnrecoverableException( errorInformation );
         }
         catch ( PwmOperationalException e )

+ 2 - 2
server/src/main/java/password/pwm/util/operations/cr/LocalDbCrOperator.java

@@ -86,13 +86,13 @@ public class LocalDbCrOperator implements CrOperator
         catch ( LocalDBException e )
         {
             final String errorMsg = "unexpected LocalDB error reading responses: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             throw new PwmUnrecoverableException( errorInformation );
         }
         catch ( ChaiException e )
         {
             final String errorMsg = "unexpected chai error reading responses from LocalDB: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             throw new PwmUnrecoverableException( errorInformation );
         }
         return null;

+ 2 - 2
server/src/main/java/password/pwm/util/operations/otp/LdapOtpOperator.java

@@ -87,13 +87,13 @@ public class LdapOtpOperator extends AbstractOtpOperator
         catch ( ChaiOperationException e )
         {
             final String errorMsg = "unexpected LDAP error reading responses: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             throw new PwmUnrecoverableException( errorInformation );
         }
         catch ( ChaiUnavailableException e )
         {
             final String errorMsg = "unexpected LDAP error reading responses: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             throw new PwmUnrecoverableException( errorInformation );
         }
         return otp;

+ 2 - 2
server/src/main/java/password/pwm/util/operations/otp/LocalDbOtpOperator.java

@@ -97,13 +97,13 @@ public class LocalDbOtpOperator extends AbstractOtpOperator
         catch ( LocalDBException e )
         {
             final String errorMsg = "unexpected LocalDB error reading otp: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             throw new PwmUnrecoverableException( errorInformation );
         }
         catch ( PwmOperationalException e )
         {
             final String errorMsg = "unexpected error reading otp: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             throw new PwmUnrecoverableException( errorInformation );
         }
         return otpConfig;

+ 2 - 2
server/src/main/java/password/pwm/ws/client/rest/RestClientHelper.java

@@ -72,7 +72,7 @@ public class RestClientHelper
             {
                 final String errorMsg = "received non-200 response code (" + httpResponse.getStatusLine().getStatusCode() + ") when executing web-service";
                 LOGGER.error( errorMsg );
-                throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ) );
+                throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ) );
             }
             return responseBody;
         }
@@ -80,7 +80,7 @@ public class RestClientHelper
         {
             final String errorMsg = "http response error while executing external rest call, error: " + e.getMessage();
             LOGGER.error( errorMsg );
-            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg ), e );
+            throw new PwmOperationalException( new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg ), e );
         }
     }
 }

+ 4 - 4
server/src/main/java/password/pwm/ws/server/RestServlet.java

@@ -170,7 +170,7 @@ public abstract class RestServlet extends HttpServlet
         catch ( Throwable e )
         {
             final String errorMsg = "internal error during rest service invocation: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             restResultBean = RestResultBean.fromError( errorInformation, pwmApplication, locale, pwmApplication.getConfig(), pwmApplication.determineIfDetailErrorMsgShown() );
             LOGGER.error( sessionLabel, errorInformation, e );
         }
@@ -197,11 +197,11 @@ public abstract class RestServlet extends HttpServlet
                 {
                     throw ( PwmUnrecoverableException ) rootException;
                 }
-                throw PwmUnrecoverableException.newException( PwmError.ERROR_UNKNOWN, e.getMessage() );
+                throw PwmUnrecoverableException.newException( PwmError.ERROR_INTERNAL, e.getMessage() );
             }
             catch ( IllegalAccessException e )
             {
-                throw PwmUnrecoverableException.newException( PwmError.ERROR_UNKNOWN, e.getMessage() );
+                throw PwmUnrecoverableException.newException( PwmError.ERROR_INTERNAL, e.getMessage() );
             }
         }
         return null;
@@ -294,7 +294,7 @@ public abstract class RestServlet extends HttpServlet
         final RestWebServer classAnnotation = this.getClass().getDeclaredAnnotation( RestWebServer.class );
         if ( classAnnotation == null )
         {
-            throw PwmUnrecoverableException.newException( PwmError.ERROR_UNKNOWN, "class is missing " + RestWebServer.class.getSimpleName() + " annotation" );
+            throw PwmUnrecoverableException.newException( PwmError.ERROR_INTERNAL, "class is missing " + RestWebServer.class.getSimpleName() + " annotation" );
         }
 
 

+ 3 - 3
server/src/main/java/password/pwm/ws/server/rest/RestChallengesServer.java

@@ -239,7 +239,7 @@ public class RestChallengesServer extends RestServlet
         catch ( ChaiException e )
         {
             final String errorMsg = "unexpected error building json response: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             return RestResultBean.fromError( restRequest, errorInformation );
         }
     }
@@ -296,7 +296,7 @@ public class RestChallengesServer extends RestServlet
         catch ( Exception e )
         {
             final String errorMsg = "unexpected error reading json input: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             return RestResultBean.fromError( restRequest, errorInformation );
         }
     }
@@ -344,7 +344,7 @@ public class RestChallengesServer extends RestServlet
         catch ( Exception e )
         {
             final String errorMsg = "unexpected error delete responses: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             return RestResultBean.fromError( restRequest, errorInformation );
         }
     }

+ 1 - 1
server/src/main/java/password/pwm/ws/server/rest/RestCheckPasswordServer.java

@@ -222,7 +222,7 @@ public class RestCheckPasswordServer extends RestServlet
         catch ( Exception e )
         {
             final String errorMessage = "unexpected error executing web service: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMessage );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMessage );
             LOGGER.error( restRequest.getSessionLabel(), errorInformation.toDebugStr(), e );
             return RestResultBean.fromError( restRequest, errorInformation );
         }

+ 1 - 1
server/src/main/java/password/pwm/ws/server/rest/RestFormSigningServer.java

@@ -120,7 +120,7 @@ public class RestFormSigningServer extends RestServlet
             }
 
             final String errorMsg = "unexpected error building json response: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             throw new PwmUnrecoverableException( errorInformation );
         }
     }

+ 1 - 1
server/src/main/java/password/pwm/ws/server/rest/RestHealthServer.java

@@ -82,7 +82,7 @@ public class RestHealthServer extends RestServlet
         catch ( Exception e )
         {
             final String errorMessage = "unexpected error executing web service: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMessage );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMessage );
             return RestResultBean.fromError( restRequest, errorInformation );
         }
     }

+ 2 - 2
server/src/main/java/password/pwm/ws/server/rest/RestProfileServer.java

@@ -111,7 +111,7 @@ public class RestProfileServer extends RestServlet
         catch ( Exception e )
         {
             final String errorMsg = "unexpected error building json response: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             return RestResultBean.fromError( restRequest, errorInformation );
         }
     }
@@ -184,7 +184,7 @@ public class RestProfileServer extends RestServlet
         catch ( Exception e )
         {
             final String errorMsg = "unexpected error building json response: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             return RestResultBean.fromError( restRequest, errorInformation );
         }
     }

+ 3 - 3
server/src/main/java/password/pwm/ws/server/rest/RestRandomPasswordServer.java

@@ -123,7 +123,7 @@ public class RestRandomPasswordServer extends RestServlet
         catch ( Exception e )
         {
             final String errorMessage = "unexpected error executing web service: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMessage );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMessage );
             return RestResultBean.fromError( restRequest, errorInformation );
         }
     }
@@ -161,7 +161,7 @@ public class RestRandomPasswordServer extends RestServlet
         {
             LOGGER.error( restRequest.getSessionLabel(), "error executing rest-json random password request: " + e.getMessage(), e );
             final String errorMessage = "unexpected error executing web service: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMessage );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMessage );
             return RestResultBean.fromError( restRequest, errorInformation );
         }
     }
@@ -187,7 +187,7 @@ public class RestRandomPasswordServer extends RestServlet
         {
             LOGGER.error( restRequest.getSessionLabel(), "error executing rest-form random password request: " + e.getMessage(), e );
             final String errorMessage = "unexpected error executing web service: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMessage );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMessage );
             return RestResultBean.fromError( restRequest, errorInformation );
         }
     }

+ 1 - 1
server/src/main/java/password/pwm/ws/server/rest/RestSetPasswordServer.java

@@ -225,7 +225,7 @@ public class RestSetPasswordServer extends RestServlet
         catch ( Exception e )
         {
             final String errorMessage = "unexpected error executing web service: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMessage );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMessage );
             LOGGER.error( "error during set password REST operation: " + e.getMessage(), e );
             return RestResultBean.fromError( restRequest, errorInformation );
         }

+ 1 - 1
server/src/main/java/password/pwm/ws/server/rest/RestStatisticsServer.java

@@ -314,7 +314,7 @@ public class RestStatisticsServer extends RestServlet
             catch ( Exception e )
             {
                 final String errorMsg = "unexpected error building json response: " + e.getMessage();
-                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+                final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
                 return RestResultBean.fromError( restRequest, errorInformation );
             }
         }

+ 1 - 1
server/src/main/java/password/pwm/ws/server/rest/RestStatusServer.java

@@ -113,7 +113,7 @@ public class RestStatusServer extends RestServlet
         catch ( Exception e )
         {
             final String errorMsg = "unexpected error building json response: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             return RestResultBean.fromError( restRequest, errorInformation );
         }
     }

+ 1 - 1
server/src/main/java/password/pwm/ws/server/rest/RestVerifyOtpServer.java

@@ -119,7 +119,7 @@ public class RestVerifyOtpServer extends RestServlet
         catch ( PwmOperationalException e )
         {
             final String errorMsg = "unexpected error reading json input: " + e.getMessage();
-            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_UNKNOWN, errorMsg );
+            final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_INTERNAL, errorMsg );
             return RestResultBean.fromError( restRequest, errorInformation );
         }
 

+ 1 - 1
server/src/main/resources/password/pwm/i18n/Error.properties

@@ -77,7 +77,7 @@ Error_Missing_Challenge_Text=Missing text for a user supplied question
 Error_UserAuthenticated=You are already authenticated.
 Error_MissingParameter=A required parameter is missing.
 Error_DirectoryUnavailable=Directory unavailable.  If this error occurs repeatedly please contact your help desk.
-Error_Unknown=An error has occurred.  If this error occurs repeatedly please contact your help desk.
+Error_Internal=An error has occurred.  If this error occurs repeatedly please contact your help desk.
 Error_ActivationValidationFailed=One or more values are not correct.
 Error_CantMatchUser=Unable to find user name.  Please try again.
 Error_ServiceNotAvailable=Service is not enabled.

+ 1 - 1
server/src/main/resources/password/pwm/i18n/Error_ca.properties

@@ -77,7 +77,7 @@ Error_Missing_Challenge_Text=Falta text en una de les preguntes proporcionades p
 Error_UserAuthenticated=Ja est\u00e0 autenticat.
 Error_MissingParameter=Falta un par\u00e0metre necessari.
 Error_DirectoryUnavailable=El directori no est\u00e0 disponible. Si l'error continua, contacteu amb el servei d'assist\u00e8ncia.
-Error_Unknown=Hi ha hagut un error. Si l'error continua, contacteu amb el servei d'assist\u00e8ncia.
+Error_Internal=Hi ha hagut un error. Si l'error continua, contacteu amb el servei d'assist\u00e8ncia.
 Error_ActivationValidationFailed=Almenys un dels valors \u00e9s incorrecte.
 Error_CantMatchUser=No s'ha trobat el nom d'usuari. Torneu a provar-ho.
 Error_ServiceNotAvailable=El servei no est\u00e0 habilitat.

+ 1 - 1
server/src/main/resources/password/pwm/i18n/Error_cs.properties

@@ -76,7 +76,7 @@ Error_TokenExpired=Token, kter\u00fd jste zadali vypr\u0161el a nen\u00ed d\u00e
 Error_TokenIncorrect=Nespr\u00e1vn\u00fd k\u00f3d, zkuste to pros\u00edm znovu.
 Error_TokenMissingContact=K va\u0161emu \u00fa\u010dtu neexistuj\u00ed \u017e\u00e1dn\u00e9 kontaktn\u00ed informace. Obra\u0165te se na spr\u00e1vce.
 Error_Unauthorized=Nem\u00e1te opr\u00e1vn\u011bn\u00ed k proveden\u00ed po\u017eadovan\u00e9 akce.
-Error_Unknown=Nezn\u00e1m\u00e1 chyba
+Error_Internal=Nezn\u00e1m\u00e1 chyba
 Error_Unlock_Failure=Do\u0161lo k chyb\u011b p\u0159i odblokov\u00e1n\u00ed \u00fa\u010dtu. Obra\u0165te se na spr\u00e1vce.
 Error_UnreachableCloudService=Slu\u017eba PWM Cloud byla nedostupn\u00e1.
 Error_Update_Attrs_Failure=Do\u0161lo k chyb\u011b p\u0159i ukl\u00e1d\u00e1n\u00ed informace o profilu. Obra\u0165te se na spr\u00e1vce.

+ 1 - 1
server/src/main/resources/password/pwm/i18n/Error_da.properties

@@ -77,7 +77,7 @@ Error_Missing_Challenge_Text=Der mangler tekst til et sp\u00f8rgsm\u00e5l, som e
 Error_UserAuthenticated=Du er allerede godkendt.
 Error_MissingParameter=Der mangler en p\u00e5kr\u00e6vet parameter.
 Error_DirectoryUnavailable=Biblioteket er ikke tilg\u00e6ngeligt. Kontakt support, hvis denne fejl forts\u00e6tter med at opst\u00e5.
-Error_Unknown=Der opstod en fejl. Hvis denne fejl forts\u00e6tter med at opst\u00e5, skal du kontakte support.
+Error_Internal=Der opstod en fejl. Hvis denne fejl forts\u00e6tter med at opst\u00e5, skal du kontakte support.
 Error_ActivationValidationFailed=En eller flere v\u00e6rdier er forkerte.
 Error_CantMatchUser=Kunne ikke finde brugernavnet. Pr\u00f8v igen.
 Error_ServiceNotAvailable=Tjenesten er ikke aktiveret.

+ 1 - 1
server/src/main/resources/password/pwm/i18n/Error_de.properties

@@ -77,7 +77,7 @@ Error_Missing_Challenge_Text=Fehlender Text f\u00fcr eine vom Benutzer bereitges
 Error_UserAuthenticated=Sie sind bereits authentifiziert.
 Error_MissingParameter=Ein erforderlicher Parameter fehlt.
 Error_DirectoryUnavailable=Verzeichnis nicht verf\u00fcgbar. Wenn dieser Fehler wiederholt auftritt, wenden Sie sich an den Helpdesk.
-Error_Unknown=Fehler. Wenn dieser Fehler wiederholt auftritt, wenden Sie sich an den Helpdesk.
+Error_Internal=Fehler. Wenn dieser Fehler wiederholt auftritt, wenden Sie sich an den Helpdesk.
 Error_ActivationValidationFailed=Mindestens einer der Werte ist falsch.
 Error_CantMatchUser=Benutzername wurde nicht gefunden. Versuchen Sie es erneut.
 Error_ServiceNotAvailable=Service ist nicht aktiviert.

+ 1 - 1
server/src/main/resources/password/pwm/i18n/Error_el.properties

@@ -71,7 +71,7 @@ Error_Missing_Challenge_Text = \u039b\u03b5\u03af\u03c0\u03b5\u03b9 \u03ba\u03b5
 Error_UserAuthenticated = \u0388\u03c7\u03b5\u03c4\u03b5 \u03ae\u03b4\u03b7 \u03c0\u03b9\u03c3\u03c4\u03bf\u03c0\u03bf\u03b9\u03b7\u03b8\u03b5\u03af.
 Error_MissingParameter = \u039c\u03b9\u03b1 \u03b1\u03c0\u03b1\u03b9\u03c4\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7 \u03c0\u03b1\u03c1\u03ac\u03bc\u03b5\u03c4\u03c1\u03bf\u03c2 \u03bb\u03b5\u03af\u03c0\u03b5\u03b9.
 Error_DirectoryUnavailable = \u039f \u03ba\u03b1\u03c4\u03ac\u03bb\u03bf\u03b3\u03bf\u03c2 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b4\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03bf\u03c2. \u0395\u03ac\u03bd \u03b1\u03c5\u03c4\u03cc \u03c4\u03bf \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b5\u03bc\u03c6\u03b1\u03bd\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b5\u03c0\u03b1\u03bd\u03b5\u03b9\u03bb\u03b7\u03bc\u03bc\u03ad\u03bd\u03b1 \u03c0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03bf\u03cd\u03bc\u03b5 \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03bc\u03b5 \u03c4\u03bf Helpdesk.
-Error_Unknown = \u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03c3\u03c4\u03b7\u03ba\u03b5 \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1 . \u0395\u03ac\u03bd \u03b1\u03c5\u03c4\u03cc \u03c4\u03bf \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b5\u03bc\u03c6\u03b1\u03bd\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b5\u03c0\u03b1\u03bd\u03b5\u03b9\u03bb\u03b7\u03bc\u03bc\u03ad\u03bd\u03b1 \u03c0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03bf\u03cd\u03bc\u03b5 \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03bc\u03b5 \u03c4\u03bf Helpdesk.
+Error_Internal = \u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03c3\u03c4\u03b7\u03ba\u03b5 \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1 . \u0395\u03ac\u03bd \u03b1\u03c5\u03c4\u03cc \u03c4\u03bf \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b5\u03bc\u03c6\u03b1\u03bd\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b5\u03c0\u03b1\u03bd\u03b5\u03b9\u03bb\u03b7\u03bc\u03bc\u03ad\u03bd\u03b1 \u03c0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03bf\u03cd\u03bc\u03b5 \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03bc\u03b5 \u03c4\u03bf Helpdesk.
 Error_ActivationValidationFailed = \u039c\u03af\u03b1 \u03ae \u03c0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03b5\u03c2 \u03c4\u03b9\u03bc\u03ad\u03c2 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03c3\u03c9\u03c3\u03c4\u03ad\u03c2.
 Error_CantMatchUser = T\u03bf \u03cc\u03bd\u03bf\u03bc\u03b1 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7 \u03b4\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b5. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03bf\u03cd\u03bc\u03b5 \u03b4\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 \u03be\u03b1\u03bd\u03ac.
 Error_ServiceNotAvailable = \u0397 \u03c5\u03c0\u03b7\u03c1\u03b5\u03c3\u03af\u03b1 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03b7\u03bc\u03ad\u03bd\u03b7.

+ 1 - 1
server/src/main/resources/password/pwm/i18n/Error_en_CA.properties

@@ -77,7 +77,7 @@ Error_Missing_Challenge_Text=Missing text for a user-supplied question
 Error_UserAuthenticated=You are already authenticated.
 Error_MissingParameter=A required parameter is missing.
 Error_DirectoryUnavailable=Directory unavailable. If this error occurs repeatedly, please contact your Help Desk.
-Error_Unknown=An error has occurred. If this error occurs repeatedly, please contact your Help Desk.
+Error_Internal=An error has occurred. If this error occurs repeatedly, please contact your Help Desk.
 Error_ActivationValidationFailed=One or more values are not correct.
 Error_CantMatchUser=Unable to find username. Please try again.
 Error_ServiceNotAvailable=Service is not enabled.

+ 1 - 1
server/src/main/resources/password/pwm/i18n/Error_es.properties

@@ -77,7 +77,7 @@ Error_Missing_Challenge_Text=Falta texto de una pregunta facilitada por el usuar
 Error_UserAuthenticated=Ya ha sido autenticado.
 Error_MissingParameter=Falta un par\u00e1metro obligatorio.
 Error_DirectoryUnavailable=Directorio no disponible. Si este error se produce de forma reiterada, p\u00f3ngase en contacto con el servicio de ayuda t\u00e9cnica.
-Error_Unknown=Se ha producido un error. Si este error se produce de forma reiterada, p\u00f3ngase en contacto con el servicio de ayuda t\u00e9cnica.
+Error_Internal=Se ha producido un error. Si este error se produce de forma reiterada, p\u00f3ngase en contacto con el servicio de ayuda t\u00e9cnica.
 Error_ActivationValidationFailed=Uno o varios valores no son correctos.
 Error_CantMatchUser=No se encuentra el nombre de usuario. Int\u00e9ntelo de nuevo.
 Error_ServiceNotAvailable=El servicio no est\u00e1 habilitado.

+ 1 - 1
server/src/main/resources/password/pwm/i18n/Error_fi.properties

@@ -72,7 +72,7 @@ Error_Missing_Challenge_Text=K\u00e4ytt\u00e4j\u00e4n sy\u00f6tt\u00e4m\u00e4st\
 Error_UserAuthenticated=Olet jo kirjautunut palveluun.
 Error_MissingParameter=Vaadittu parametri puuttuu.
 Error_DirectoryUnavailable=Hakemistoon ei saada yhteytt\u00e4. Jos virhe toistuu ota yhteytt\u00e4 helpdeskiin.
-Error_Unknown=Tuntematon virhe. Jos virhe toistuu ota yhteytt\u00e4 helpdeskiin.
+Error_Internal=Tuntematon virhe. Jos virhe toistuu ota yhteytt\u00e4 helpdeskiin.
 Error_ActivationValidationFailed=Yksi tai useampi arvoista on v\u00e4\u00e4rin.
 Error_CantMatchUser=K\u00e4ytt\u00e4j\u00e4\u00e4 ei l\u00f6ydy, yrit\u00e4 uudelleen.
 Error_ServiceNotAvailable=Palvelu ei ole aktivoitu.

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.