Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@2776 1c488680-804c-0410-94cd-c6b725194a0e
- Loading branch information
Showing
6 changed files
with
82 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
.../test/java/org/jboss/webbeans/test/unit/implementation/enterprise/BowlerHatException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package org.jboss.webbeans.test.unit.implementation.enterprise; | ||
|
||
public class BowlerHatException extends RuntimeException | ||
{ | ||
|
||
public BowlerHatException() | ||
{ | ||
super(); | ||
} | ||
|
||
public BowlerHatException(String message, Throwable cause) | ||
{ | ||
super(message, cause); | ||
} | ||
|
||
public BowlerHatException(String message) | ||
{ | ||
super(message); | ||
} | ||
|
||
public BowlerHatException(Throwable cause) | ||
{ | ||
super(cause); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
tests/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/Fedora.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.jboss.webbeans.test.unit.implementation.enterprise; | ||
|
||
import javax.ejb.Local; | ||
|
||
@Local | ||
public interface Fedora | ||
{ | ||
|
||
public void causeRuntimeException(); | ||
|
||
|
||
} |
14 changes: 14 additions & 0 deletions
14
tests/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/FedoraImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.jboss.webbeans.test.unit.implementation.enterprise; | ||
|
||
import javax.ejb.Stateless; | ||
|
||
@Stateless | ||
public class FedoraImpl implements Fedora | ||
{ | ||
|
||
public void causeRuntimeException() | ||
{ | ||
throw new BowlerHatException(); | ||
} | ||
|
||
} |