You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2017/12/29 13:57:20 UTC
[isis] 03/03: ISIS-1768: removes test actions accidentally
committed on the HelloWorld app
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
commit 5128e2c83cef0a3dbe0769260d409c82f794fc70
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Dec 29 13:53:07 2017 +0000
ISIS-1768: removes test actions accidentally committed on the HelloWorld app
---
.../java/domainapp/dom/impl/HelloWorldObjects.java | 27 ----------------------
1 file changed, 27 deletions(-)
diff --git a/example/application/helloworld/src/main/java/domainapp/dom/impl/HelloWorldObjects.java b/example/application/helloworld/src/main/java/domainapp/dom/impl/HelloWorldObjects.java
index 84f89c7..242cf7e 100644
--- a/example/application/helloworld/src/main/java/domainapp/dom/impl/HelloWorldObjects.java
+++ b/example/application/helloworld/src/main/java/domainapp/dom/impl/HelloWorldObjects.java
@@ -22,9 +22,6 @@ import java.util.List;
import org.datanucleus.query.typesafe.TypesafeQuery;
-import org.apache.isis.applib.ApplicationException;
-import org.apache.isis.applib.NonRecoverableException;
-import org.apache.isis.applib.RecoverableException;
import org.apache.isis.applib.annotation.Action;
import org.apache.isis.applib.annotation.DomainService;
import org.apache.isis.applib.annotation.MemberOrder;
@@ -63,30 +60,6 @@ public class HelloWorldObjects {
.executeList();
}
- @Action(semantics = SemanticsOf.SAFE)
- @MemberOrder(sequence = "2.1")
- public void throwRuntimeException() {
- throw new RuntimeException("all gone wrong - a RuntimeException!");
- }
-
- @Action(semantics = SemanticsOf.SAFE)
- @MemberOrder(sequence = "2.2")
- public void throwRecoverableException() {
- throw new RecoverableException("all gone wrong - a RecoverableException!");
- }
-
- @Action(semantics = SemanticsOf.SAFE)
- @MemberOrder(sequence = "2.3")
- public void throwNonRecoverableException() {
- throw new NonRecoverableException("all gone wrong - a NonRecoverableException!");
- }
-
- @Action(semantics = SemanticsOf.SAFE)
- @MemberOrder(sequence = "2.4")
- public void throwApplicableException() {
- throw new ApplicationException("all gone wrong - an ApplicationException!");
- }
-
@Action(semantics = SemanticsOf.SAFE, restrictTo = RestrictTo.PROTOTYPING)
@MemberOrder(sequence = "3")
public List<HelloWorldObject> listAll() {
--
To stop receiving notification emails like this one, please contact
"commits@isis.apache.org" <co...@isis.apache.org>.