Package com.priint.pubserver.exception
Class ErrorStackInfo
java.lang.Object
com.priint.pubserver.exception.ErrorStackInfo
- All Implemented Interfaces:
Serializable
Class holds information about exception such as module name, exception code and error message.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Error stack info.ErrorStackInfo(String module, int code, String message) Instantiates a new Error stack info. -
Method Summary
-
Constructor Details
-
ErrorStackInfo
public ErrorStackInfo()Instantiates a new Error stack info. -
ErrorStackInfo
Instantiates a new Error stack info.- Parameters:
module- module namecode- error codemessage- error message
-
-
Method Details
-
getModule
Gets module.- Returns:
- the module
-
setModule
Sets module.- Parameters:
module- the module
-
getCode
public int getCode()Gets code.- Returns:
- the code
-
setCode
public void setCode(int code) Sets code.- Parameters:
code- the code
-
getMessage
Gets message.- Returns:
- the message
-
setMessage
Sets message.- Parameters:
message- the message
-
toString
-