Methods Summary |
---|
public static com.sun.xml.ws.transport.tcp.util.WSTCPError | createCriticalError(int subCode, java.lang.String description)
return new WSTCPError(TCPConstants.CRITICAL_ERROR, subCode, description);
|
public static com.sun.xml.ws.transport.tcp.util.WSTCPError | createError(int code, int subCode, java.lang.String description)
return new WSTCPError(code, subCode, description);
|
public static com.sun.xml.ws.transport.tcp.util.WSTCPError | createNonCriticalError(int subCode, java.lang.String description)
return new WSTCPError(TCPConstants.NON_CRITICAL_ERROR, subCode, description);
|
public int | getCode()
return code;
|
public java.lang.String | getDescription()
return description;
|
public int | getSubCode()
return subCode;
|
public boolean | isCritical()
return code == TCPConstants.CRITICAL_ERROR;
|
public java.lang.String | toString()
final StringBuffer sb = new StringBuffer(100);
sb.append("Code: ");
sb.append(code);
sb.append(" SubCode: ");
sb.append(subCode);
sb.append(" Description: ");
sb.append(description);
return sb.toString();
|