1 22 package org.jboss.test.jbossmx.compliance.server.support; 23 24 33 public class Test 34 implements TestMBean 35 { 36 37 public String getThisWillScream() throws MyScreamingException 38 { 39 throw new MyScreamingException(); 40 } 41 42 public void setThisWillScream(String str) throws MyScreamingException 43 { 44 throw new MyScreamingException(); 45 } 46 47 public String getThrowUncheckedException() 48 { 49 throw new ExceptionOnTheRun(); 50 } 51 52 public void setThrowUncheckedException(String str) 53 { 54 throw new ExceptionOnTheRun(); 55 } 56 57 public String getError() 58 { 59 throw new BabarError(); 60 } 61 62 public void setError(String str) 63 { 64 throw new BabarError(); 65 } 66 67 public void setAStringAttribute(String str) 68 { 69 70 } 71 72 public void operationWithException() throws MyScreamingException 73 { 74 throw new MyScreamingException(); 75 } 76 } 77 78 79 80 81 | Popular Tags |