mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user