|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.izforge.izpack.util.os.SystemErrorException
public class SystemErrorException
| Constructor Summary | |
|---|---|
SystemErrorException()
Constructs a system error exception with no descriptive information. |
|
SystemErrorException(int errorCode,
String message)
Constructs a system error exception with the given Windows system error code and message. |
|
SystemErrorException(String message)
Constructs a system error exception with the given descriptive message. |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Returns the system error code. |
void |
setErrorCode(int errorCode)
Sets the system error code. |
String |
toString()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SystemErrorException()
public SystemErrorException(String message)
message - A description of or information about the exception. Should not be
null.
public SystemErrorException(int errorCode,
String message)
errorCode - The system error code.message - A description of or information about the exception. Should not be
null unless a cause is specified.| Method Detail |
|---|
public String toString()
toString in class Throwablepublic void setErrorCode(int errorCode)
errorCode - the system error cod.public int getErrorCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||