|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.smartlab.web.BusinessException
public class BusinessException
A BusinessException is thrown whenever an application tries to perform a business operation but the request cannot be accomplished for some reason.
| Constructor Summary | |
|---|---|
BusinessException()
Default empty constructor. |
|
BusinessException(java.lang.String message)
Instantiates the class with a message. |
|
BusinessException(java.lang.String message,
java.lang.Object param)
Instantiates the class with a message and a parameter. |
|
BusinessException(java.lang.String message,
java.lang.Object[] params)
Instantiates the class with a message and an array of parameters. |
|
BusinessException(java.lang.String message,
java.lang.Object param1,
java.lang.Object param2)
Instantiates the class with a message and two parameters. |
|
BusinessException(java.lang.String message,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3)
Instantiates the class with a message and three parameters. |
|
BusinessException(java.lang.String message,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4)
Instantiates the class with a message and four parameters. |
|
BusinessException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new instance with the specified describing message and cause. |
|
BusinessException(java.lang.Throwable cause)
Constructs a new instance with the specified cause. |
|
| Method Summary |
|---|
| 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 |
| Constructor Detail |
|---|
public BusinessException(java.lang.String message)
message - the key to be searched in resource bundles.
public BusinessException(java.lang.String message,
java.lang.Object param)
message - the key to be searched in resource bundles.param - an object to be used for param substitution.
public BusinessException(java.lang.String message,
java.lang.Object param1,
java.lang.Object param2)
message - the key to be searched in resource bundles.param1 - an object to be used for param substitution.param2 - an object to be used for param substitution.
public BusinessException(java.lang.String message,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3)
message - the key to be searched in resource bundles.param1 - an object to be used for param substitution.param2 - an object to be used for param substitution.param3 - an object to be used for param substitution.
public BusinessException(java.lang.String message,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4)
message - the key to be searched in resource bundles.param1 - an object to be used for param substitution.param2 - an object to be used for param substitution.param3 - an object to be used for param substitution.param4 - an object to be used for param substitution.
public BusinessException(java.lang.String message,
java.lang.Object[] params)
message - the key to be searched in resource bundles.params - a set of objects for param substitution.public BusinessException()
public BusinessException(java.lang.Throwable cause)
cause - the throwable instance wich generated this
exception.
public BusinessException(java.lang.String message,
java.lang.Throwable cause)
message - the description of the occurred exception.cause - the throwable instance wich generated this
exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||