Working on the JMF implementation of the media service.

error code seems to have not been properly handled
cusax-fix
Emil Ivov 20 years ago
parent 93f0d93726
commit 6bee21b95f

@ -72,6 +72,7 @@ public class OperationFailedException
public OperationFailedException(String message, int errorCode)
{
super(message);
this.errorCode = errorCode;
}
/**
@ -82,10 +83,12 @@ public OperationFailedException(String message, int errorCode)
* fields of this class)
* @param cause the error that caused this exception
*/
public OperationFailedException(String message, int errorCode,
public OperationFailedException(String message,
int errorCode,
Throwable cause)
{
super(message, cause);
this.errorCode = errorCode;
}
/**

Loading…
Cancel
Save