Merged 1.4 to HEAD

svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4313 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4314 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4317 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4318 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4656 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-12-19 14:28:55 +00:00
parent cfb373ae36
commit 488450a988
17 changed files with 1807 additions and 877 deletions

View File

@@ -39,7 +39,7 @@ public class SMBSrvException extends Exception
// NT 32-bit error code
protected int m_NTerror;
protected int m_NTerror = -1;
/**
* Construct an SMB exception with the specified error class/error code.
@@ -116,6 +116,16 @@ public class SMBSrvException extends Exception
return m_errorcode;
}
/**
* Check if the NT error code has been set
*
* @return boolean
*/
public final boolean hasNTErrorCode()
{
return m_NTerror != -1 ? true : false;
}
/**
* Return the NT error code
*