Skip to content

Commit

Permalink
Merge pull request #45 from dve/#43_remove_not_used_classes
Browse files Browse the repository at this point in the history
#43 remove not used classes (LGTM)
  • Loading branch information
sebastianrothbucher authored Feb 9, 2017
2 parents 7ed8cc1 + a427779 commit c0ce49f
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 94 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
* Copyright 2017 Daniel Nordhoff-Vergien
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package de.akquinet.engineering.vaadinator.timesheet;

public class BusinessException extends RuntimeException {

/**
*
*/
private static final long serialVersionUID = 1L;

public BusinessException() {
super();
}

public BusinessException(String message) {
super(message);
}

public BusinessException(Throwable cause) {
super(cause);
}

public BusinessException(String message, Throwable cause) {
super(message, cause);
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
* Copyright 2017 Daniel Nordhoff-Vergien
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package de.akquinet.engineering.vaadinator.timesheet;

public class TechnicalException extends RuntimeException {

/**
*
*/
private static final long serialVersionUID = 1L;

public TechnicalException() {
super();
}

public TechnicalException(String message) {
super(message);
}

public TechnicalException(Throwable cause) {
super(cause);
}

public TechnicalException(String message, Throwable cause) {
super(message, cause);
}

}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2014, 2016 Daniel Norhoff-Vergien and akquinet engineering GmbH
* Copyright 2014, 2016, 2017 Daniel Norhoff-Vergien and akquinet engineering GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down Expand Up @@ -154,17 +154,6 @@ public void generateCode(VaadinatorConfig vaadinatorConfig) throws IOException {
vaadinatorConfig.getBasePckg() + ".ui.view", "DefaultButtonFactory", ".java"),
TEMPLATE_PACKAGE, log);
}
// auch für Service-Layer
if (vaadinatorConfig.isHasDisplayBeans() || vaadinatorConfig.isHasServiceBeans()) {
runVelocity(null, vaadinatorConfig.getCommonMap(), vaadinatorConfig.getBasePckg(), null, null, null,
null, "BusinessException.template", packageToFile(vaadinatorConfig.getTargetFolderSrcStart(),
vaadinatorConfig.getBasePckg(), "BusinessException", ".java"),
TEMPLATE_PACKAGE, log);
runVelocity(null, vaadinatorConfig.getCommonMap(), vaadinatorConfig.getBasePckg(), null, null, null,
null, "TechnicalException.template", packageToFile(vaadinatorConfig.getTargetFolderSrcStart(),
vaadinatorConfig.getBasePckg(), "TechnicalException", ".java"),
TEMPLATE_PACKAGE, log);
}
// wenn wir Basis generieren wollen auch das Folgende:
if (vaadinatorConfig.isHasDisplayBeans() && vaadinatorConfig.isGenServletBase()) {
runVelocity(null, vaadinatorConfig.getCommonMap(), vaadinatorConfig.getBasePckg(), null, null, null,
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit c0ce49f

Please sign in to comment.