org.jboss.portal.test.cms.stress
Class Failure

java.lang.Object
  extended by org.jboss.portal.test.cms.stress.Failure

public class Failure
extends java.lang.Object


Field Summary
static int ASSERT
           
static int EXCEPTION
           
 
Constructor Summary
Failure(int type, java.lang.String message)
           
 
Method Summary
 java.lang.String getMessage()
           
 int getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXCEPTION

public static final int EXCEPTION
See Also:
Constant Field Values

ASSERT

public static final int ASSERT
See Also:
Constant Field Values
Constructor Detail

Failure

public Failure(int type,
               java.lang.String message)
Method Detail

getType

public int getType()

getMessage

public java.lang.String getMessage()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object