User: ejort Date: 02/02/01 19:16:23 Added: src/main/org/jboss/test/jbossmx/compliance/server/support BabarError.java ExceptionOnTheRun.java MyScreamingException.java Test.java TestMBean.java Log: JBossMX tests, temporary modifications to classpaths see comment in build.xml Revision Changes Path 1.1 jbosstest/src/main/org/jboss/test/jbossmx/compliance/server/support/BabarError.java Index: BabarError.java =================================================================== /* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jboss.test.jbossmx.compliance.server.support; /** * <description> * * @see <related> * * @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>. * @version $Revision: 1.1 $ * */ public class BabarError extends Error { } 1.1 jbosstest/src/main/org/jboss/test/jbossmx/compliance/server/support/ExceptionOnTheRun.java Index: ExceptionOnTheRun.java =================================================================== /* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jboss.test.jbossmx.compliance.server.support; /** * <description> * * @see <related> * * @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>. * @version $Revision: 1.1 $ * */ public class ExceptionOnTheRun extends RuntimeException { } 1.1 jbosstest/src/main/org/jboss/test/jbossmx/compliance/server/support/MyScreamingException.java Index: MyScreamingException.java =================================================================== /* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jboss.test.jbossmx.compliance.server.support; /** * <description> * * @see <related> * * @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>. * @version $Revision: 1.1 $ * */ public class MyScreamingException extends Exception { } 1.1 jbosstest/src/main/org/jboss/test/jbossmx/compliance/server/support/Test.java Index: Test.java =================================================================== /* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jboss.test.jbossmx.compliance.server.support; /** * <description> * * @see <related> * * @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>. * @version $Revision: 1.1 $ * */ public class Test implements TestMBean { public String getThisWillScream() throws MyScreamingException { throw new MyScreamingException(); } public void setThisWillScream(String str) throws MyScreamingException { throw new MyScreamingException(); } public String getThrowUncheckedException() { throw new ExceptionOnTheRun(); } public void setThrowUncheckedException(String str) { throw new ExceptionOnTheRun(); } public String getError() { throw new BabarError(); } public void setError(String str) { throw new BabarError(); } public void setAStringAttribute(String str) { } public void operationWithException() throws MyScreamingException { throw new MyScreamingException(); } } 1.1 jbosstest/src/main/org/jboss/test/jbossmx/compliance/server/support/TestMBean.java Index: TestMBean.java =================================================================== /* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jboss.test.jbossmx.compliance.server.support; /** * <description> * * @see <related> * * @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>. * @version $Revision: 1.1 $ * */ public interface TestMBean { public String getThisWillScream() throws MyScreamingException; public void setThisWillScream(String str) throws MyScreamingException; public String getThrowUncheckedException(); public void setThrowUncheckedException(String str); public String getError(); public void setError(String str); public void setAStringAttribute(String str); public void operationWithException() throws MyScreamingException; }
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development