Skip to content
This repository has been archived by the owner on Jan 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #34 from kemitix/tidy-up
Browse files Browse the repository at this point in the history
Tidy up
  • Loading branch information
kemitix authored Sep 1, 2018
2 parents aec69b5 + 5169e03 commit 41e90e3
Show file tree
Hide file tree
Showing 11 changed files with 189 additions and 384 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
CHANGELOG
=========

0.5.0
-----

* Compatible with Java 10
* Bump kemitix-parent from 1.1.0 to 5.1.1
* Use kemitix-checkstyle-ruleset 4.1.1
* Don't throw generic exceptions
* Add mon 0.12.0 as dependency
* Bump tiles-maven-plugin from 2.11 to 2.12
* [testing] Use a free port for test mail server
* [testing] Bump mockito-core from 1.10.19 to 2.21.0
* [testing] Bump spring-context-support from 4.2.6.RELEASE to 5.0.8.RELEASE
* [testing] Bump simple-java-mail from 3.0.1 to 3.1.1
* [admin] Simpliify .gitignore
* [admin] Remove old netbeans config
* [admin] Switch to trunk based development
* [admin] Stop submitting coverage reports to coveralls
* [admin] Switch to Jenkins for CI/CD

0.4.0
------

Expand Down
207 changes: 0 additions & 207 deletions checkstyle.xml

This file was deleted.

39 changes: 0 additions & 39 deletions nb-configuration.xml

This file was deleted.

6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,15 @@
<jacoco-class-line-covered-ratio>0</jacoco-class-line-covered-ratio>
<jacoco-class-instruction-covered-ratio>0</jacoco-class-instruction-covered-ratio>
<jacoco-class-missed-count-maximum>1</jacoco-class-missed-count-maximum>
<mon.version>0.12.0</mon.version>
</properties>

<dependencies>
<dependency>
<groupId>net.kemitix</groupId>
<artifactId>mon</artifactId>
<version>${mon.version}</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/**
* The MIT License (MIT)
*
* Copyright (c) 2018 Paul Campbell
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies
* or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
* AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

package net.kemitix.wiser.assertions;

/**
* Assertions caused by errors while parsing mime message content.
*
* @author Paul Campbell ([email protected])
*/
public class MimeMessageException extends RuntimeException {

/**
* Create an assertion with a message.
*
* @param message the message
*/
public MimeMessageException(final String message) {
super(message);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/**
* The MIT License (MIT)
*
* Copyright (c) 2018 Paul Campbell
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies
* or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
* AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

package net.kemitix.wiser.assertions;

/**
* Assertions caused by {@link WiserAssertions}.
*
* @author Paul Campbell ([email protected])
*/
public class WiserAssertionException extends RuntimeException {

/**
* Create a wrapper for the cause.
*
* @param cause the original exception
*/
public WiserAssertionException(final Throwable cause) {
super(cause);
}

}
Loading

0 comments on commit 41e90e3

Please sign in to comment.