[go: up one dir, main page]

Menu

Commit [r315]  Maximize  Restore  History

Reworked exception classes to all include a detailed message.

All exceptions classes now extend from RTException.
Added DataValidationException to capture all validation errors that occur when validating the schema.
Cleaned up formatting and display of exception messages.
Added method to StringUtils to replace all newline with html br tags.
Changed SynchronizeClientDialog.java to use xml schema validation method in the RTDocumentUtilities class.
Corrected bug in the RecommendationTypeDAO that caused sync to fail with a NPE if compliance checks were found, but not internal checks.
Corrected bug in the RecommendationTypeDAO that caused sync to fail with a NPE if public references were found, but not internal references.

jonathanobaker 2008-12-30

changed /trunk/RTClient/src/org/mitre/rt/client/core/DataManager.java
changed /trunk/RTClient/src/org/mitre/rt/client/exceptions/DataManagerException.java
changed /trunk/RTClient/src/org/mitre/rt/client/exceptions/RTClientException.java
changed /trunk/RTClient/src/org/mitre/rt/client/exceptions/SynchronizationManagerException.java
changed /trunk/RTClient/src/org/mitre/rt/client/resources/version.info.properties
changed /trunk/RTClient/src/org/mitre/rt/client/synchronize/SynchronizeClientDialog.java
changed /trunk/RTClient/src/org/mitre/rt/client/ui/transfer/NodeTransfer.java
changed /trunk/RTClient/src/org/mitre/rt/client/util/GlobalUITools.java
changed /trunk/RTClient/src/org/mitre/rt/client/util/StringUtils.java
added /trunk/RTClient/src/org/mitre/rt/common/DataValidationException.java
changed /trunk/RTClient/src/org/mitre/rt/common/RTException.java
changed /trunk/RTClient/src/org/mitre/rt/common/xml/RTDocumentUtilities.java
changed /trunk/RTClient/src/org/mitre/rt/server/database/dao/RecommendationTypeDAO.java
changed /trunk/RTClient/src/org/mitre/rt/server/exceptions/DatabaseException.java
changed /trunk/RTClient/src/org/mitre/rt/server/exceptions/RTServerConnectionException.java
changed /trunk/RTClient/src/org/mitre/rt/server/exceptions/RTServerException.java
changed /trunk/RTClient/src/org/mitre/rt/server/exceptions/SyncException.java