package test.compliance.server.support;
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();
}
public boolean opWithPrimBooleanReturn()
{
return true;
}
public long opWithPrimLongReturn()
{
return 1234567890123l;
}
public long[] opWithPrimLongArrayReturn()
{
return new long[] { 1L, 2L, 3L};
}
public Long[] opWithLongArrayReturn()
{
return new Long[] { new Long(1L), new Long(2L), new Long(3L) };
}
public double opWithPrimDoubleReturn()
{
return 0.1234567890123d;
}
public void opWithLongSignature(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10,
int i11, int i12, int i13, int i14, int i15, int i16, int i17, int i18, int i19, int i20)
{
}
public void opWithMixedSignature(int i1, double i2, long i3, boolean i4, byte i5,
short i6, long[] i7, Long[] i8, Short i9, Byte i10,
Long i11, Double i12, int i13, int i14, int i15,
int i16, int i17, int i18, int i19, int i20)
{
}
private int counter = 0;
public void counterWithException()
{
counter++;
throw new IllegalArgumentException();
}
public int getCounter()
{
return counter;
}
}