irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods::error Class Reference

#include <irods_error.hpp>

Collaboration diagram for irods::error:
[legend]

Public Member Functions

 error ()
 
 error (bool, long long, std::string, std::string, int, std::string)
 
 error (bool, long long, boost::format, std::string, int, std::string)
 
 error (bool, long long, std::string, std::string, int, std::string, const error &)
 
 error (std::string, std::string, int, std::string, const error &)
 
 error (const error &)
 
 error (const exception &)
 
 ~error ()
 
erroroperator= (const error &)
 
bool status () const
 
long long code () const
 
std::string result () const
 
std::string user_result () const
 
bool ok ()
 
bool ok () const
 
void code (long long _code)
 
void status (bool _status)
 
void message (std::string _message)
 

Private Member Functions

std::string build_result_string (std::string, int, std::string)
 

Private Attributes

bool status_
 
long long code_
 
std::string message_
 
std::vector< std::string > result_stack_
 
boost::optional< exceptionexception_
 

Static Private Attributes

static const char * iRODS_token_ = "iRODS"
 
static const char * colon_token_ = " : "
 
static const char * status_token_ = " status ["
 

Detailed Description

=-=-=-=-=-=-=-

Description:\n error stack object which holds error history

Definition at line 23 of file irods_error.hpp.

Constructor & Destructor Documentation

◆ error() [1/7]

irods::error::error ( )

Definition at line 74 of file irods_error.cpp.

◆ error() [2/7]

irods::error::error ( bool  _status,
long long  _code,
std::string  _msg,
std::string  _file,
int  _line,
std::string  _fcn 
)

Definition at line 79 of file irods_error.cpp.

References build_result_string(), and result_stack_.

Here is the call graph for this function:

◆ error() [3/7]

irods::error::error ( bool  _status,
long long  _code,
boost::format  _msg,
std::string  _file,
int  _line,
std::string  _fcn 
)

Definition at line 98 of file irods_error.cpp.

◆ error() [4/7]

irods::error::error ( bool  ,
long long  ,
std::string  _msg,
std::string  _file,
int  _line,
std::string  _fcn,
const error _rhs 
)

Definition at line 109 of file irods_error.cpp.

References build_result_string(), and result_stack_.

Here is the call graph for this function:

◆ error() [5/7]

irods::error::error ( std::string  _msg,
std::string  _file,
int  _line,
std::string  _fcn,
const error _rhs 
)

Definition at line 132 of file irods_error.cpp.

References build_result_string(), exception_, message_, and result_stack_.

Here is the call graph for this function:

◆ error() [6/7]

irods::error::error ( const error _rhs)

Definition at line 153 of file irods_error.cpp.

References code_, exception_, message_, result_stack_, and status_.

◆ error() [7/7]

irods::error::error ( const exception _exc)

Definition at line 163 of file irods_error.cpp.

◆ ~error()

irods::error::~error ( )

Definition at line 171 of file irods_error.cpp.

Member Function Documentation

◆ build_result_string()

std::string irods::error::build_result_string ( std::string  _file,
int  _line,
std::string  _fcn 
)
private

Definition at line 27 of file irods_error.cpp.

References code_, colon_token_, iRODS_token_, message_, NULL, result(), rodsErrorName(), status_, and status_token_.

Referenced by error().

Here is the call graph for this function:

◆ code() [1/2]

long long irods::error::code ( ) const

Definition at line 194 of file irods_error.cpp.

References code_.

Referenced by _addResource(), _call_file_modified_for_modification(), _call_file_modified_for_replica(), _l3FileStage(), _listRescTypes(), _rsBulkDataObjReg(), _rsChkNVPathPerm(), _rsChkObjPermAndStat(), _rsDataObjCreateWithResc(), _rsDataObjRename(), _rsFileChmod(), _rsFileClose(), _rsFileClosedir(), _rsFileCreate(), _rsFileGet(), _rsFileGetFsFreeSpace(), _rsFileLseek(), _rsFileMkdir(), _rsFileOpen(), _rsFileOpendir(), _rsFilePut(), _rsFileRead(), _rsFileReaddir(), _rsFileRename(), _rsFileRmdir(), _rsFileStageToCache(), _rsFileStat(), _rsFileSyncToArch(), _rsFileTruncate(), _rsFileUnlink(), _rsFileWrite(), _rsGeneralAdmin(), _rsGetHierarchyForResc(), _rsModColl(), _rsModDataObjMeta(), _rsPhyPathReg(), _rsProcStat(), _rsProcStatAll(), _rsRegColl(), _rsRegDataObj(), _rsRegReplica(), _rsRuleExecDel(), _rsRuleExecSubmit(), _rsServerReport(), _rsStructFileExtract(), _rsStructFileSync(), _rsSubStructFileClose(), _rsSubStructFileClosedir(), _rsSubStructFileCreate(), _rsSubStructFileGet(), _rsSubStructFileLseek(), _rsSubStructFileMkdir(), _rsSubStructFileOpen(), _rsSubStructFileOpendir(), _rsSubStructFilePut(), _rsSubStructFileRead(), _rsSubStructFileReaddir(), _rsSubStructFileRename(), _rsSubStructFileRmdir(), _rsSubStructFileTruncate(), _rsSubStructFileUnlink(), _rsSubStructFileWrite(), _rsUnregDataObj(), _rsZoneReport(), acDeleteCollByAdminIfPresent(), agentMain(), applyRule(), applyRuleArg(), applyRuleWithInOutVars(), irods::plugin_base::call(), irods::api_entry::call_handler(), irods::resource_manager::call_maintenance_operations(), irods::environment_properties::capture_json(), irods::server_properties::capture_json(), checkDupReplica(), checkHostAccessControl(), chkCollForBundleOpr(), chkEmptyDir(), chkOrphanFile(), chksumLocFile(), chlAddAVUMetadata(), chlAddAVUMetadataWild(), chlAddChildResc(), chlAddSpecificQuery(), chlCalcUsageAndQuota(), chlCheckAndGetObjectID(), chlCheckAuth(), chlCheckQuota(), chlClose(), chlCommit(), chlCopyAVUMetadata(), chlDelChildResc(), chlDelColl(), chlDelCollByAdmin(), chlDeleteAVUMetadata(), chlDelResc(), chlDelRuleExec(), chlDelSpecificQuery(), chlDelToken(), chlDelUnusedAVUs(), chlDelUserRE(), chlDelZone(), chlGeneralUpdate(), chlGenQuery(), chlGenQueryAccessControlSetup(), chlGenQueryTicketSetup(), chlGetDistinctDataObjCountOnResource(), chlGetDistinctDataObjsMissingFromChildGivenParent(), chlGetHierarchyForResc(), chlGetLocalZone(), chlGetRcs(), chlGetReplListForLeafBundles(), chlInsDvmTable(), chlInsFnmTable(), chlInsMsrvcTable(), chlInsRuleTable(), chlMakeLimitedPw(), chlMakeTempPw(), chlModAccessControl(), chlModAccessControlResc(), chlModAVUMetadata(), chlModColl(), chlModDataObjMeta(), chlModGroup(), chlModResc(), chlModRescDataPaths(), chlModRescFreeSpace(), chlModRuleExec(), chlModTicket(), chlModUser(), chlModZone(), chlModZoneCollAcl(), chlMoveObject(), chlOpen(), chlPurgeServerLoad(), chlPurgeServerLoadDigest(), chlRegColl(), chlRegCollByAdmin(), chlRegDataObj(), chlRegReplica(), chlRegResc(), chlRegRuleExec(), chlRegServerLoad(), chlRegServerLoadDigest(), chlRegToken(), chlRegUserRE(), chlRegZone(), chlRenameColl(), chlRenameLocalZone(), chlRenameObject(), chlRollback(), chlSetAVUMetadata(), chlSetQuota(), chlSimpleQuery(), chlSpecificQuery(), chlUnregDataObj(), chlUpdateIrodsPamPassword(), chlUpdateRescObjCount(), chlVersionDvmBase(), chlVersionFnmBase(), chlVersionRuleBase(), clientLogin(), cliReconnManager(), cliSwitchConnect(), connectToRhost(), irods::control(), create_replication_list(), createPhyBundleDataObj(), dataObjOpenForRepl(), dataObjUnlinkS(), db_add_avu_metadata_wild_op(), db_add_child_resc_op(), dirPathReg(), execAction3(), fileChksum(), fileChmod(), fileClose(), fileClosedir(), fileCreate(), fileGetFsFreeSpace(), fileLseek(), fileMkdir(), fileOpen(), fileOpendir(), fileRead(), fileReaddir(), fileRename(), fileRmdir(), fileStat(), fileTruncate(), fileUnlink(), fillBulkDataObjRegInp(), irods::resource_manager::gather_leaf_bundles_for_resc(), irods::resource_manager::get_all_resc_hierarchies(), irods::resource_manager::get_hier_to_root_for_resc(), get_object_count_of_resource_by_name(), get_rebalance_batch_size(), getDataObjInfo(), getDataObjLockPath(), getLeafRescPathName(), getReiFilePath(), hash_rules(), icatGetTicketGroupId(), icatGetTicketUserId(), impostor_file_resolve_hierarchy_create(), impostor_file_resolve_hierarchy_open(), initHostConfigByFile(), initServer(), initServerInfo(), irsPhyPathReg(), isInVault(), l3Rename(), l3Unlink(), irods::resource_manager::load_resource_plugin(), mkFileDirR(), mock_archive_file_mkdir(), mock_archive_file_rename(), mountFileDir(), msiAclPolicy(), msiAddUserToGroup(), msiCommit(), msiCreateCollByAdmin(), msiCreateUser(), msiDeleteCollByAdmin(), msiDeleteUnusedAVUs(), msiDeleteUser(), msiExtractNaraMetadata(), msiListEnabledMS(), msiQuota(), msiRenameLocalZone(), msiRollback(), msiSetDefaultResc(), msisync_to_archive(), non_blocking_file_close(), non_blocking_file_create(), non_blocking_file_getfs_freespace(), non_blocking_file_lseek(), non_blocking_file_mkdir(), non_blocking_file_open(), non_blocking_file_read(), non_blocking_file_readdir(), non_blocking_file_stat(), non_blocking_file_unlink(), non_blocking_file_write(), procReqRoutine(), procSingleConnReq(), purgeLockFileDir(), random_file_resolve_hierarchy(), rcDisconnect(), readAndProcApiReply(), readAndProcClientMsg(), readDVarStructFromFile(), readFuncMapStructFromFile(), readMsgBody(), readMsrvcStructFromFile(), readWorkerTask(), regSubfile(), renameFilePathToNewDir(), repl_file_closedir(), repl_file_getfs_freespace(), repl_file_lseek(), repl_file_mkdir(), repl_file_opendir(), repl_file_read(), repl_file_readdir(), repl_file_rename(), repl_file_rmdir(), repl_file_stat(), repl_file_sync_to_arch(), repl_file_truncate(), repl_file_unlink(), replica_exceeds_resource_free_space(), irods::create_write_replicator::replicate(), replUpdateObjectAndOperProperties(), irods::request_vote_for_file_object(), resoAndConnHostByDataObjInfo(), irods::resolve_hier_for_create(), irods::resolve_hier_for_create_or_open(), irods::resolve_hier_for_open_or_write(), rsAuthCheck(), rsAuthPluginRequest(), rsAuthRequest(), rsAuthResponse(), rsBulkDataObjPut(), rsBulkDataObjReg(), rsChkObjPermAndStat(), rsCollCreate(), rsDataObjChksum(), rsDataObjCreate(), rsDataObjGet(), rsDataObjLock(), rsDataObjPhymv(), rsDataObjPut(), rsDataObjRename(), rsDataObjRepl(), rsDataObjRsync(), rsDataObjTrim(), rsDataObjUnlink(), rsDataObjUnlock(), rsDataObjWrite(), rsEndTransaction(), rsExecCmd(), rsExecMyRule(), rsExecRuleExpression(), rsFileStat(), rsGeneralAdmin(), rsGeneralRowInsert(), rsGeneralUpdate(), rsGenQuery(), rsGetHierarchyForResc(), rsGetHierFromLeafId(), rsGetHostForGet(), rsGetHostForPut(), rsGetLimitedPassword(), rsGetMiscSvrInfo(), rsGetRemoteZoneResc(), rsGetTempPassword(), rsGetTempPasswordForOther(), rsIESClientHints(), rsModAccessControl(), rsModAVUMetadata(), rsModColl(), rsModDataObjMeta(), rsObjStat(), rsPamAuthRequest(), rsPhyBundleColl(), rsQuerySpecColl(), rsRegColl(), rsRegDataObj(), rsRegReplica(), rsRsyncFileToData(), rsRuleExecDel(), rsRuleExecMod(), rsRuleExecSubmit(), rsSimpleQuery(), rsSpecificQuery(), rsStructFileBundle(), rsStructFileExtAndReg(), rsStructFileExtract(), rsTicketAdmin(), rsUnbunAndRegPhyBunfile(), rsUnregDataObj(), rsUserAdmin(), rsZoneReport(), runIrodsAgentFactory(), sendApiReply(), sendApiRequest(), sendRodsMsg(), sendStartupPack(), serverMain(), setRescQuota(), sockAgentStart(), sockAgentStop(), sockClientStart(), sockClientStop(), structFileSupport(), svrRegDataObj(), svrSwitchConnect(), svrUnregColl(), syncDataObjPhyPathS(), tar_file_extract(), tar_file_sync(), tar_struct_file_open(), unix_file_close(), unix_file_create(), unix_file_getfs_freespace(), unix_file_lseek(), unix_file_mkdir(), unix_file_open(), unix_file_read(), unix_file_readdir(), unix_file_rename(), unix_file_stat(), unix_file_unlink(), unix_file_write(), unix_resolve_hierarchy_create(), unix_resolve_hierarchy_open(), irods::update_out_of_date_replicas(), updatequotaOverrun(), irods::resource_manager::validate_vault_path(), warn_if_deprecated_context_string_set(), writeDVMapsIntoFile(), writeFNMapsIntoFile(), writeMSrvcsIntoFile(), writeRulesIntoFile(), and xmsgServerMain().

◆ code() [2/2]

void irods::error::code ( long long  _code)
inline

Definition at line 78 of file irods_error.hpp.

References code_.

◆ message()

void irods::error::message ( std::string  _message)
inline

Definition at line 84 of file irods_error.hpp.

References message_.

◆ ok() [1/2]

bool irods::error::ok ( )

Definition at line 258 of file irods_error.cpp.

References status_.

Referenced by _addResource(), _call_file_modified_for_modification(), _call_file_modified_for_replica(), _childIsValid(), _dataObjChksum(), _l3FileStage(), _l3Open(), _listRescTypes(), _rsBulkDataObjReg(), _rsChkObjPermAndStat(), _rsClientHints(), _rsDataObjChksum(), _rsDataObjCreateWithResc(), _rsDataObjOpen(), _rsDataObjRename(), _rsFileChmod(), _rsFileClose(), _rsFileClosedir(), _rsFileCreate(), _rsFileGet(), _rsFileGetFsFreeSpace(), _rsFileLseek(), _rsFileMkdir(), _rsFileOpen(), _rsFileOpendir(), _rsFilePut(), _rsFileRead(), _rsFileReaddir(), _rsFileRename(), _rsFileRmdir(), _rsFileStageToCache(), _rsFileStat(), _rsFileSyncToArch(), _rsFileTruncate(), _rsFileWrite(), _rsGeneralAdmin(), _rsGenQuery(), _rsGetHierarchyForResc(), _rsIESClientHints(), _rsModColl(), _rsModDataObjMeta(), _rsPhyPathReg(), _rsProcStat(), _rsProcStatAll(), _rsRegColl(), _rsRegDataObj(), _rsRegReplica(), _rsRuleExecDel(), _rsRuleExecSubmit(), _rsServerReport(), _rsStructFileExtract(), _rsStructFileSync(), _rsSubStructFileClose(), _rsSubStructFileClosedir(), _rsSubStructFileCreate(), _rsSubStructFileGet(), _rsSubStructFileLseek(), _rsSubStructFileMkdir(), _rsSubStructFileOpen(), _rsSubStructFileOpendir(), _rsSubStructFilePut(), _rsSubStructFileRead(), _rsSubStructFileReaddir(), _rsSubStructFileRename(), _rsSubStructFileRmdir(), _rsSubStructFileTruncate(), _rsSubStructFileUnlink(), _rsSubStructFileWrite(), _rsSyncMountedColl(), _rsUnbunAndRegPhyBunfile(), _rsUnregDataObj(), _rsZoneReport(), acCreateUser(), acDeleteCollByAdminIfPresent(), acDeleteUser(), acDOC(), acRegisterData(), acRenameLocalZone(), acSetCreateConditions(), actionTableLookUp(), irods::add_plugin_type_to_json_array(), add_resc_hier_name_to_query_out(), agentMain(), apply_acPostProcForDataCopyReceived(), apply_acPostProcForParallelTransferReceived(), irods::apply_policy_for_create_operation(), applyRule(), applyRuleArg(), applyRuleWithInOutVars(), irods::assert_pass(), auto_replication_is_enabled(), build_directory_listing(), build_sorted_child_vector(), bulkProcAndRegSubfile(), bundle_cache_dir(), irods::plugin_base::call(), irods::api_entry::call_handler(), irods::resource_manager::call_maintenance_operations(), call_rebalance_on_children(), irods::environment_properties::capture(), irods::server_properties::capture(), irods::environment_properties::capture_json(), irods::server_properties::capture_json(), capture_weight(), irods::check_sent_sid(), checkAndGetObjectId(), checkDupReplica(), checkHostAccessControl(), chkCollForBundleOpr(), chkEmptyDir(), chkFilePathPerm(), chkOrphanFile(), chksumLocFile(), chlAddAVUMetadata(), chlAddAVUMetadataWild(), chlAddChildResc(), chlAddSpecificQuery(), chlCalcUsageAndQuota(), chlCheckAndGetObjectID(), chlCheckAuth(), chlCheckQuota(), chlClose(), chlCommit(), chlCopyAVUMetadata(), chlDelChildResc(), chlDelColl(), chlDelCollByAdmin(), chlDeleteAVUMetadata(), chlDelResc(), chlDelRuleExec(), chlDelSpecificQuery(), chlDelToken(), chlDelUnusedAVUs(), chlDelUserRE(), chlDelZone(), chlGeneralUpdate(), chlGenQuery(), chlGenQueryAccessControlSetup(), chlGenQueryTicketSetup(), chlGetDistinctDataObjCountOnResource(), chlGetDistinctDataObjsMissingFromChildGivenParent(), chlGetHierarchyForResc(), chlGetLocalZone(), chlGetRcs(), chlGetReplListForLeafBundles(), chlInsDvmTable(), chlInsFnmTable(), chlInsMsrvcTable(), chlInsRuleTable(), chlMakeLimitedPw(), chlMakeTempPw(), chlModAccessControl(), chlModAccessControlResc(), chlModAVUMetadata(), chlModColl(), chlModDataObjMeta(), chlModGroup(), chlModResc(), chlModRescDataPaths(), chlModRescFreeSpace(), chlModRuleExec(), chlModTicket(), chlModUser(), chlModZone(), chlModZoneCollAcl(), chlMoveObject(), chlOpen(), chlPurgeServerLoad(), chlPurgeServerLoadDigest(), chlRegColl(), chlRegCollByAdmin(), chlRegDataObj(), chlRegReplica(), chlRegResc(), chlRegRuleExec(), chlRegServerLoad(), chlRegServerLoadDigest(), chlRegToken(), chlRegUserRE(), chlRegZone(), chlRenameColl(), chlRenameLocalZone(), chlRenameObject(), chlRollback(), chlSetAVUMetadata(), chlSetQuota(), chlSimpleQuery(), chlSpecificQuery(), chlUnregDataObj(), chlUpdateIrodsPamPassword(), chlUpdateRescObjCount(), chlVersionDvmBase(), chlVersionFnmBase(), chlVersionRuleBase(), cleanup(), irods::client_server_negotiation_for_client(), irods::client_server_negotiation_for_server(), clientLogin(), cliReconnManager(), cliSwitchConnect(), compound_check_param(), compound_file_close(), compound_file_closedir(), compound_file_create(), compound_file_getfs_freespace(), compound_file_lseek(), compound_file_mkdir(), compound_file_modified(), compound_file_notify(), compound_file_open(), compound_file_opendir(), compound_file_read(), compound_file_readdir(), compound_file_rebalance(), compound_file_redirect_create(), compound_file_redirect_open(), compound_file_redirect_unlink(), compound_file_registered(), compound_file_rename(), compound_file_resolve_hierarchy(), compound_file_rmdir(), compound_file_stage_to_cache(), compound_file_stat(), compound_file_sync_to_arch(), compound_file_truncate(), compound_file_unlink(), compound_file_unregistered(), compound_file_write(), compound_resource::compound_resource(), compound_start_operation(), irods::configuration_parser::configuration_parser(), connectToRhost(), irods::control(), convert_host_access_control(), convert_irods_host(), convert_server_config(), convert_service_account(), create_replication_list(), createBunDirForBulkPut(), createPhyBundleDataObj(), dataObjOpenForRepl(), dataObjUnlinkS(), db_add_avu_metadata_wild_op(), db_add_child_resc_op(), db_check_and_get_object_id_op(), db_check_auth_op(), db_close_op(), db_commit_op(), db_debug_op(), db_del_child_resc_op(), db_del_coll_by_admin_op(), db_del_coll_op(), db_del_resc_op(), db_del_rule_exec_op(), db_del_user_re_op(), db_del_zone_op(), db_get_local_zone_op(), db_make_limited_pw_op(), db_make_temp_pw_op(), db_mod_coll_op(), db_mod_data_obj_meta_op(), db_mod_group_op(), db_mod_resc_data_paths_op(), db_mod_resc_freespace_op(), db_mod_resc_op(), db_mod_rule_exec_op(), db_mod_user_op(), db_mod_zone_coll_acl_op(), db_mod_zone_op(), db_open_op(), db_reg_coll_by_admin_op(), db_reg_coll_op(), db_reg_data_obj_op(), db_reg_replica_op(), db_reg_resc_op(), db_reg_rule_exec_op(), db_reg_user_re_op(), db_reg_zone_op(), db_rename_coll_op(), db_rename_local_zone_op(), db_rollback_op(), db_set_avu_metadata_op(), db_simple_query_op_vector(), db_start_op(), db_unreg_replica_op(), db_update_pam_password_op(), deferred_file_resolve_hierarchy(), deferred_redirect_for_operation(), deferred_resource::deferred_resource(), dirPathReg(), exec_rule(), execAction3(), irods::plugin_name_generator::exists(), extract_file(), extract_resource_properties_for_operations(), fileChksum(), fileChmod(), fileClose(), fileClosedir(), fileCreate(), fileGetFsFreeSpace(), fileLseek(), fileMkdir(), fileModified(), fileNotify(), fileOpen(), fileOpendir(), filePathReg(), filePathRegRepl(), filePathTypeInResc(), fileRead(), fileReaddir(), fileRegistered(), fileRename(), fileRmdir(), fileStageToCache(), fileStat(), fileSyncToArch(), fileTruncate(), fileUnlink(), fileUnregistered(), fileWrite(), fillBulkDataObjRegInp(), find_compound_resource_in_hierarchy(), irods::forward_server_control_command(), irods::resource_manager::gather_leaf_bundle_for_child(), irods::resource_manager::gather_leaf_bundles_for_resc(), irods::resource_manager::gather_operations(), irods::resource_manager::gather_operations_recursive(), irods::resource_manager::get_all_resc_hierarchies(), get_archive(), get_cache(), irods::get_catalog_property(), get_config_dir(), get_coordinating_resources(), irods::resource_manager::get_hier_to_root_for_resc(), irods::get_host_for_hier_string(), irods::get_host_status_by_host_info(), get_host_system_information(), irods::get_loc_for_hier_string(), get_next_child(), get_next_child_in_hier(), get_next_valid_child_resource(), get_object_count_of_resource_by_name(), irods::resource_manager::get_parent_name(), irods::get_pid_age(), irods::get_plugin_array(), get_rebalance_batch_size(), irods::get_resc_hier_property(), get_resc_id_cond_for_hier_cond(), irods::get_resc_properties_as_kvp(), irods::get_resc_type_for_hier_string(), get_resource_array(), irods::get_resource_property(), irods::resource_manager::get_root_resources(), get_server_reports(), get_stage_policy(), irods::get_vault_path_for_hier_string(), getchkPathPerm(), getDataObjInfo(), getDataObjLockPath(), getFilePathName(), getLeafRescPathName(), getLocalZone(), getNumThreads(), getPhyPath(), getReiFilePath(), getRescForCreate(), getRuleBasePath(), hash_rules(), irods::resource_manager::hier_to_leaf_id(), icatGetTicketGroupId(), icatGetTicketUserId(), irods::init_api_table(), irods::resource_manager::init_child_map(), irods::resource_manager::init_from_catalog(), irods::network_manager::init_from_type(), irods::database_manager::init_from_type(), irods::resource_manager::init_from_type(), irods::rule_engine_manager< default_re_ctx, RuleExecInfo >::init_rule_engine(), initDataObjInfoForRepl(), initDataObjInfoWithInp(), initDataOprInp(), initHostConfigByFile(), initServer(), initServerInfo(), irsPhyPathReg(), irods::is_hier_live(), irods::is_resc_live(), isInVault(), irods::kill_server(), l3Close(), l3Create(), l3CreateByObjInfo(), l3FileGetSingleBuf(), l3FilePutSingleBuf(), l3FileSync(), l3Mkdir(), l3Open(), l3Opendir(), l3Read(), l3Rename(), l3Rmdir(), l3Stat(), l3Truncate(), l3Unlink(), l3Write(), irods::resource_manager::leaf_id_to_hier(), irods::plugin_name_generator::list_plugins(), irods::rule_engine_context_manager< T, C, DONT_AUDIT_RULE >::list_rules(), load_balanced_redirect_for_create_operation(), load_balanced_redirect_for_open_operation(), load_balanced_resource::load_balanced_resource(), irods::database_manager::load_database_plugin(), irods::load_microservice_plugin(), irods::load_network_plugin(), irods::load_plugin(), irods::resource_manager::load_resource_plugin(), lockReadMutex(), lockWriteMutex(), locToRemPartialCopy(), irods::log(), main(), matchCliVaultPath(), mkFileDirR(), mock_archive_mkdir_r(), mountFileDir(), moveMountedCollDataObj(), msi_update_unixfilesystem_resource_free_space(), msiAclPolicy(), msiAddUserToGroup(), msiCommit(), msiCreateCollByAdmin(), msiCreateUser(), msiDeleteCollByAdmin(), msiDeleteUnusedAVUs(), msiDeleteUser(), msiExtractNaraMetadata(), msiListEnabledMS(), msiQuota(), msiRenameCollection(), msiRenameLocalZone(), msiRollback(), msisync_to_archive(), non_blocking_file_mkdir_r(), non_blocking_file_truncate(), non_blocking_generate_full_path(), non_blockingFileCopyPlugin(), open_for_prefer_archive_policy(), open_for_prefer_cache_policy(), openSpecColl(), irods::server_control_executor::operator()(), pam_auth_client_request(), irods::parse_kvp_string(), partialDataGet(), partialDataPut(), passthru_check_params(), passthru_file_close(), passthru_file_closedir(), passthru_file_create(), passthru_file_getfs_freespace(), passthru_file_lseek(), passthru_file_mkdir(), passthru_file_modified(), passthru_file_notify(), passthru_file_open(), passthru_file_opendir(), passthru_file_read(), passthru_file_readdir(), passthru_file_rebalance(), passthru_file_registered(), passthru_file_rename(), passthru_file_resolve_hierarchy(), passthru_file_rmdir(), passthru_file_stage_to_cache(), passthru_file_stat(), passthru_file_sync_to_arch(), passthru_file_truncate(), passthru_file_unlink(), passthru_file_unregistered(), passthru_file_write(), passthru_resource::passthru_resource(), prepareNonServerSharedMemory(), prepareServerSharedMemory(), irods::resource_manager::print_local_resources(), proc_child_list_for_create_policy(), irods::server_control_executor::process_host_list(), irods::resource_manager::process_init_results(), irods::server_control_executor::process_operation(), procReqRoutine(), procSingleConnReq(), purgeLockFileDir(), random_file_resolve_hierarchy(), rcDisconnect(), rcPartialDataGet(), rcPartialDataPut(), read_bytes_buf(), irods::read_client_server_negotiation_message(), readAndProcApiReply(), readAndProcClientMsg(), readDVarStructFromFile(), readFuncMapStructFromFile(), readMsgBody(), readMsgHeader(), readMsrvcStructFromFile(), readPathnamePatternsFromFile(), readReconMsg(), readStartupPack(), readVersion(), readWorkerTask(), reconnManager(), regSubfile(), removeSharedMemory(), remToLocPartialCopy(), renameFilePathToNewDir(), repl_file_closedir(), repl_file_getfs_freespace(), repl_file_lseek(), repl_file_mkdir(), repl_file_notify(), repl_file_open(), repl_file_opendir(), repl_file_read(), repl_file_readdir(), repl_file_rebalance(), repl_file_rename(), repl_file_rmdir(), repl_file_stage_to_cache(), repl_file_stat(), repl_file_sync_to_arch(), repl_file_truncate(), repl_file_unlink(), repl_file_unregistered(), repl_object(), repl_resource::repl_resource(), replCheckParams(), replica_exceeds_resource_free_space(), irods::create_write_replicator::replicate(), irods::replicator::replicate(), replUpdateObjectAndOperProperties(), irods::impostor_resource::report_error(), irods::request_vote_for_file_object(), irods::resource_manager::resc_id_to_name(), resetMutex(), resoAndConnHostByDataObjInfo(), irods::native_auth_object::resolve(), irods::osauth_auth_object::resolve(), irods::pam_auth_object::resolve(), irods::ssl_object::resolve(), irods::tcp_object::resolve(), irods::collection_object::resolve(), irods::file_object::resolve(), irods::generic_database_object::resolve(), irods::mysql_object::resolve(), irods::oracle_object::resolve(), irods::postgres_object::resolve(), irods::structured_object::resolve(), irods::generic_auth_object::resolve(), irods::gsi_auth_object::resolve(), irods::krb_auth_object::resolve(), irods::rule_engine_plugin_manager< default_re_ctx >::resolve(), irods::resource_manager::resolve_from_property(), irods::resolve_hier_for_open_or_write_without_keyword(), resolve_hierarchy_for_resc_from_cond_input(), resolve_hostname_from_hosts_config(), irods::resolve_resource_hierarchy(), irods::resource_redirect(), irods::resource_to_kvp(), round_robin_check_params(), round_robin_file_close(), round_robin_file_closedir(), round_robin_file_create(), round_robin_file_getfs_freespace(), round_robin_file_lseek(), round_robin_file_mkdir(), round_robin_file_modified(), round_robin_file_notify(), round_robin_file_open(), round_robin_file_opendir(), round_robin_file_read(), round_robin_file_readdir(), round_robin_file_rebalance(), round_robin_file_registered(), round_robin_file_rename(), round_robin_file_resolve_hierarchy(), round_robin_file_rmdir(), round_robin_file_stage_to_cache(), round_robin_file_stat(), round_robin_file_sync_to_arch(), round_robin_file_truncate(), round_robin_file_unlink(), round_robin_file_unregistered(), round_robin_file_write(), round_robin_get_resc_for_call(), round_robin_start_operation(), rsApiHandler(), rsAuthCheck(), rsAuthPluginRequest(), rsAuthRequest(), rsAuthResponse(), rsBulkDataObjPut(), rsBulkDataObjReg(), rsChkNVPathPerm(), rsChkObjPermAndStat(), rsCollCreate(), rsDataObjChksum(), rsDataObjCreate(), rsDataObjGet(), rsDataObjLock(), rsDataObjLseek(), rsDataObjOpen(), rsDataObjPhymv(), rsDataObjPut(), rsDataObjRename(), rsDataObjRepl(), rsDataObjRsync(), rsDataObjTrim(), rsDataObjUnlink(), rsDataObjUnlock(), rsDataObjWrite(), rsEndTransaction(), rsExecCmd(), rsExecMyRule(), rsExecRuleExpression(), rsFileChksum(), rsFileChmod(), rsFileCreate(), rsFileGet(), rsFileGetFsFreeSpace(), rsFileOpen(), rsFileOpendir(), rsFilePut(), rsFileRename(), rsFileStageToCache(), rsFileStat(), rsFileSyncToArch(), rsFileTruncate(), rsFileUnlink(), rsGeneralAdmin(), rsGeneralRowInsert(), rsGeneralUpdate(), rsGenQuery(), rsGetHierarchyForResc(), rsGetHierFromLeafId(), rsGetHostForGet(), rsGetHostForPut(), rsGetLimitedPassword(), rsGetMiscSvrInfo(), rsGetRemoteZoneResc(), rsGetTempPassword(), rsGetTempPasswordForOther(), rsIESClientHints(), rsModAccessControl(), rsModAVUMetadata(), rsModColl(), rsModDataObjMeta(), rsObjStat(), rsPamAuthRequest(), rsPhyBundleColl(), rsQuerySpecColl(), rsRegColl(), rsRegDataObj(), rsRegReplica(), rsRsyncFileToData(), rsRuleExecDel(), rsRuleExecMod(), rsRuleExecSubmit(), rsSetRoundRobinContext(), rsSimpleQuery(), rsSpecificQuery(), rsStructFileBundle(), rsStructFileExtAndReg(), rsStructFileExtract(), rsStructFileSync(), rsTicketAdmin(), rsUnbunAndRegPhyBunfile(), rsUnregDataObj(), rsUserAdmin(), rsyncDataToFileUtil(), rsyncFileToDataUtil(), rsZoneReport(), irods::rule_engine_manager< default_re_ctx, RuleExecInfo >::rule_engine_manager(), runIrodsAgentFactory(), irods::send_client_server_negotiation_message(), sendApiReply(), sendApiRequest(), sendReconnMsg(), sendRodsMsg(), sendStartupPack(), sendVersion(), irods::re_serialization::serialize_dataObjCopyInp_ptr(), irods::re_serialization::serialize_modDataObjMeta_ptr(), irods::re_serialization::serialize_plugin_context(), irods::serialize_resource_plugin_to_json(), irods::server_operation_shutdown(), serverMain(), irods::set_default_resource(), irods::set_resource_property(), irods::children_parser::set_string(), setRescQuota(), irods::sign_server_sid(), sockAgentStart(), sockAgentStop(), sockClientStart(), sockClientStop(), sortObjInfo(), specCollClosedir(), specCollReaddir(), specCollSubStat(), ssl_client_start(), ssl_read_msg_body(), ssl_read_msg_header(), ssl_send_rods_msg(), ssl_socket_read(), ssl_socket_write(), ssl_write_msg_header(), stage_tar_struct_file(), irods::resource_manager::start_resource_plugins(), strip_resc_hier_name_from_query_inp(), structFileSupport(), svrRegDataObj(), svrSwitchConnect(), svrUnregColl(), sync_cache_dir_to_tar_file(), syncDataObjPhyPathS(), tar_check_params(), tar_file_close(), tar_file_closedir(), tar_file_create(), tar_file_extract(), tar_file_lseek(), tar_file_mkdir(), tar_file_open(), tar_file_opendir(), tar_file_read(), tar_file_readdir(), tar_file_rename(), tar_file_rmdir(), tar_file_stat(), tar_file_sync(), tar_file_truncate(), tar_file_unlink(), tar_file_write(), tar_struct_file_open(), tcp_read_msg_body(), tcp_read_msg_header(), tcp_send_rods_msg(), tcp_write_msg_header(), test_source_replica_for_write_permissions(), unbunPhyBunFile(), univ_mss_check_param(), univ_mss_file_chmod(), univ_mss_file_mkdir(), univ_mss_file_modified(), univ_mss_file_registered(), univ_mss_file_rename(), univ_mss_file_resolve_hierarchy(), univ_mss_file_resolve_hierarchy_create(), univ_mss_file_resolve_hierarchy_open(), univ_mss_file_stage_to_cache(), univ_mss_file_stat(), univ_mss_file_sync_to_arch(), univ_mss_file_unlink(), univ_mss_file_unregistered(), unix_file_copy(), unix_file_create(), unix_file_mkdir_r(), unix_file_open(), unix_file_opendir(), unix_file_rename(), unix_file_resolve_hierarchy(), unix_generate_full_path(), update_next_child_resource(), irods::update_out_of_date_replicas(), updatequotaOverrun(), irods::resource_manager::validate_vault_path(), verify_auth_response(), verifyChksumLocFile(), warn_if_deprecated_context_string_set(), writeDVMapsIntoFile(), writeFNMapsIntoFile(), writeMsgHeader(), writeMSrvcsIntoFile(), writeRulesIntoFile(), and xmsgServerMain().

◆ ok() [2/2]

bool irods::error::ok ( ) const

Definition at line 264 of file irods_error.cpp.

References status_.

◆ operator=()

error & irods::error::operator= ( const error _rhs)

Definition at line 176 of file irods_error.cpp.

References code_, exception_, message_, result_stack_, and status_.

◆ result()

◆ status() [1/2]

◆ status() [2/2]

void irods::error::status ( bool  _status)
inline

Definition at line 81 of file irods_error.hpp.

References status_.

◆ user_result()

std::string irods::error::user_result ( ) const

Definition at line 229 of file irods_error.cpp.

References colon_token_, exception_, result(), result_stack_, and status_token_.

Referenced by rsCollCreate().

Here is the call graph for this function:

Member Data Documentation

◆ code_

long long irods::error::code_
private

Definition at line 92 of file irods_error.hpp.

Referenced by build_result_string(), code(), error(), and operator=().

◆ colon_token_

const char * irods::error::colon_token_ = " : "
staticprivate

Definition at line 101 of file irods_error.hpp.

Referenced by build_result_string(), and user_result().

◆ exception_

boost::optional< exception > irods::error::exception_
private

Definition at line 95 of file irods_error.hpp.

Referenced by error(), operator=(), result(), and user_result().

◆ iRODS_token_

const char * irods::error::iRODS_token_ = "iRODS"
staticprivate

Definition at line 100 of file irods_error.hpp.

Referenced by build_result_string().

◆ message_

std::string irods::error::message_
private

Definition at line 93 of file irods_error.hpp.

Referenced by build_result_string(), error(), message(), and operator=().

◆ result_stack_

std::vector< std::string > irods::error::result_stack_
private

Definition at line 94 of file irods_error.hpp.

Referenced by error(), operator=(), result(), and user_result().

◆ status_

bool irods::error::status_
private

Definition at line 91 of file irods_error.hpp.

Referenced by build_result_string(), error(), ok(), operator=(), and status().

◆ status_token_

const char * irods::error::status_token_ = " status ["
staticprivate

Definition at line 102 of file irods_error.hpp.

Referenced by build_result_string(), and user_result().


The documentation for this class was generated from the following files: