|
Servertec Foundation Classes 1.3.3 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
stec.sfc.Win32.Win32Exception
public final class Win32Exception
Used to create new Win32 exceptions. Normally thrown by SFC native methods.
| Constructor Summary | |
|---|---|
Win32Exception()
Constructs a new Win32Exception object. |
|
Win32Exception(int error_code)
Constructs a new Win32Exception object with the specified error code. |
|
Win32Exception(int error_code,
java.lang.String message)
Constructs a new Win32Exception object with the specified error code and message. |
|
Win32Exception(java.lang.String message)
Constructs a new Win32Exception object with the specified message. |
|
Win32Exception(java.lang.Throwable ex)
Constructs a new Win32Exception object for the specified Throwable object. |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Returns the error code of the Win32Exception. |
java.lang.Throwable |
getRootCause()
Returns the error code of the Win32Exception. |
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Win32Exception()
public Win32Exception(int error_code)
error_code - the error code.
public Win32Exception(int error_code,
java.lang.String message)
error_code - the error code.message - the error message.public Win32Exception(java.lang.String message)
error_code - the error code.message - the error message.public Win32Exception(java.lang.Throwable ex)
ex - the Throwable object.| Method Detail |
|---|
public final int getErrorCode()
Win32 error codes can be found at MSDN System Error Codes.
public final java.lang.Throwable getRootCause()
|
Servertec Foundation Classes 1.3.3 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2001-2005 Servertec. All rights reserved.