diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-12-28 17:06:07 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-12-28 17:06:07 -0500 |
commit | fa8961c3e8804a2fd606160d7649e973e906d0b4 (patch) | |
tree | 7b05dab00035f95e55fb131f38a15a06e7281a16 /s/config.h | |
parent | a3a0bc64f9082d712d8a0789811257ad45a6cb0b (diff) | |
download | mongo-fa8961c3e8804a2fd606160d7649e973e906d0b4.tar.gz |
Exception classess need codes too SERVER-112
Diffstat (limited to 's/config.h')
-rw-r--r-- | s/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/s/config.h b/s/config.h index 14d76b71067..16aa67aaddc 100644 --- a/s/config.h +++ b/s/config.h @@ -82,7 +82,7 @@ namespace mongo { string getPrimary(){ if ( _primary.size() == 0 ) - throw UserException( (string)"no primary shard configured for db: " + _name ); + throw UserException( 8041 , (string)"no primary shard configured for db: " + _name ); return _primary; } |