java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.microfocus.cobol.CobolException
com.microfocus.cobol.connector.transport.BINPException
Title:
Copyright: Copyright (c) 2002-2003 Company: Micro Focus International Ltd
| Constructor Summary | |
BINPException(String message)
Construct generic BINPException given a message string |
|
BINPException(String message,
Throwable cause)
Construct generic BINPException given a message string and an cause |
|
| Method Summary | |
Throwable |
getCause()
get an associated throwable exception or null if not present |
String |
getDebugInfo()
get any associated debug information |
String |
getErrorClass()
get the associated error class for this exception |
int |
getErrorCode()
get the associated error code with this exception |
String |
getErrorMessage()
get the exceptions error message |
short |
getErrorType()
get the error type associated with exception as defined in the BINP spec |
Throwable |
initCause(Throwable parm1)
associate a throwable exception with this exception |
void |
printStackTrace()
printStackTrace |
void |
printStackTrace(PrintStream parm1)
printStackTrace to specified PrintStream |
void |
printStackTrace(PrintWriter parm1)
printStackTrace to specified printwriter |
void |
setDebugInfo(String debugInfo)
associate any debug information with the exception |
void |
setErrorClass(String errorClass)
associate a error class with this exception |
void |
setErrorCode(int errorCode)
associate a error code with this exception |
void |
setErrorMessage(String errorMessage)
set the error message for this exception |
void |
setErrorType(short errorType)
set the error type for the exception |
| Methods inherited from class com.microfocus.cobol.CobolException |
getMessage |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BINPException(String message)
message -
public BINPException(String message,
Throwable cause)
message - | Method Detail |
public Throwable initCause(Throwable parm1)
parm1 -
public Throwable getCause()
public void printStackTrace(PrintWriter parm1)
parm1 - public void printStackTrace()
public void printStackTrace(PrintStream parm1)
parm1 - public void setErrorMessage(String errorMessage)
errorMessage - public String getErrorMessage()
public void setErrorCode(int errorCode)
errorCode - public int getErrorCode()
public void setErrorClass(String errorClass)
errorClass - public String getErrorClass()
public void setErrorType(short errorType)
errorType - public short getErrorType()
public void setDebugInfo(String debugInfo)
debugInfo - public String getDebugInfo()
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.