jbpm-form-modeler-common 6.0.0.CR2

org.jbpm.formModeler.service.error
Class BusinessError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jbpm.formModeler.service.error.ApplicationError
                  extended by org.jbpm.formModeler.service.error.BusinessError
All Implemented Interfaces:
Serializable

public class BusinessError
extends ApplicationError

An exception thrown by the client application when it wants to handle an expected business error.

See Also:
Serialized Form

Field Summary
static int ERROR
           
static int INFO
           
protected  int level
           
protected  String message
           
protected  String title
           
static int WARN
           
 
Constructor Summary
BusinessError(int level, String title, String message)
           
 
Method Summary
 int getLevel()
           
 String getTitle()
           
 void setLevel(int level)
           
 void setTitle(String title)
           
 
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

ERROR

public static final int ERROR
See Also:
Constant Field Values

WARN

public static final int WARN
See Also:
Constant Field Values

INFO

public static final int INFO
See Also:
Constant Field Values

level

protected int level

title

protected String title

message

protected String message
Constructor Detail

BusinessError

public BusinessError(int level,
                     String title,
                     String message)
Method Detail

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getLevel

public int getLevel()

setLevel

public void setLevel(int level)

jbpm-form-modeler-common 6.0.0.CR2

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.