org.databene.benerator
Class BeneratorError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.databene.benerator.BeneratorError
All Implemented Interfaces:
java.io.Serializable

public class BeneratorError
extends java.lang.RuntimeException

Indicates an error in Benerator execution, for example raised by an <error> element.

Created: 12.01.2011 09:13:11

Since:
0.6.4
Author:
Volker Bergmann
See Also:
Serialized Form

Field Summary
protected  int code
           
 
Constructor Summary
BeneratorError(java.lang.String s, int code)
           
BeneratorError(java.lang.String s, java.lang.Throwable throwable, int code)
           
BeneratorError(java.lang.Throwable throwable, int code)
           
 
Method Summary
 int getCode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code

protected int code
Constructor Detail

BeneratorError

public BeneratorError(java.lang.String s,
                      java.lang.Throwable throwable,
                      int code)

BeneratorError

public BeneratorError(java.lang.String s,
                      int code)

BeneratorError

public BeneratorError(java.lang.Throwable throwable,
                      int code)
Method Detail

getCode

public int getCode()


Copyright © 2013. All Rights Reserved.