diff --git a/common/exception/AcceptConnectionInterrupted.cpp b/common/exception/AcceptConnectionInterrupted.cpp index 4f7fcfdd3e677858b597a4cb139d4ffb5bd6ae10..56f265884fc982002b13bba902742efdec4fce40 100644 --- a/common/exception/AcceptConnectionInterrupted.cpp +++ b/common/exception/AcceptConnectionInterrupted.cpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/AcceptConnectionInterrupted.hpp" diff --git a/common/exception/AcceptConnectionInterrupted.hpp b/common/exception/AcceptConnectionInterrupted.hpp index 93af7f79adb12f2eb00dedceec43503ea6f286cb..e56df62a4972f3b2f6281e140988d457dbcf512a 100644 --- a/common/exception/AcceptConnectionInterrupted.hpp +++ b/common/exception/AcceptConnectionInterrupted.hpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once @@ -62,5 +57,5 @@ private: }; // class AcceptConnectionInterrupted } // end of namespace exception -} // end of namespace castor +} // end of namespace cta diff --git a/common/exception/Backtrace.cpp b/common/exception/Backtrace.cpp index a6ec66d3ecc78a02445d4f490c8cc7a66934cac1..6561aabfe5ae4a1dc4ac96ce52d893323c66c1de 100644 --- a/common/exception/Backtrace.cpp +++ b/common/exception/Backtrace.cpp @@ -16,30 +16,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ - #include <execinfo.h> #include <cxxabi.h> #include <stdlib.h> @@ -48,7 +24,7 @@ #ifdef COLLECTEXTRABACKTRACEINFOS #include <bfd.h> #include <sstream> -namespace castor { +namespace cta { namespace exception { class bfdContext { public: diff --git a/common/exception/Backtrace.hpp b/common/exception/Backtrace.hpp index 65e3e8edf2f7a44bf91c597cd57b6b4b034e17de..aabe88b6b5b426fc2d8e3b567f5244694a368e9b 100644 --- a/common/exception/Backtrace.hpp +++ b/common/exception/Backtrace.hpp @@ -16,27 +16,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ - #pragma once #include <string> diff --git a/common/exception/BadAlloc.cpp b/common/exception/BadAlloc.cpp index ce1b3db30fa66fe952b99034fb9972ad37c9956b..1c3fdb2d552c04c01d9877fdbf1bf57ebc241ffd 100644 --- a/common/exception/BadAlloc.cpp +++ b/common/exception/BadAlloc.cpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/BadAlloc.hpp" diff --git a/common/exception/BadAlloc.hpp b/common/exception/BadAlloc.hpp index b02eef532e5975f408b90ce4b261cb4bea1314a6..f90d1870697cb1fb3bca7a6b9f36c0bc65d740bb 100644 --- a/common/exception/BadAlloc.hpp +++ b/common/exception/BadAlloc.hpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/CommandLineNotParsed.cpp b/common/exception/CommandLineNotParsed.cpp index bacf705ccac7f2869dddf604796b7167c45f3c17..2c02f2f2fdaa44e9b00c844011b2cae38751205a 100644 --- a/common/exception/CommandLineNotParsed.cpp +++ b/common/exception/CommandLineNotParsed.cpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/CommandLineNotParsed.hpp" diff --git a/common/exception/CommandLineNotParsed.hpp b/common/exception/CommandLineNotParsed.hpp index 3f1b5455297a505c2bc669a2ea7d5d6237b4d935..c04a083212a92e8da7da1342be294ddb29bb5faf 100644 --- a/common/exception/CommandLineNotParsed.hpp +++ b/common/exception/CommandLineNotParsed.hpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/EndOfFile.hpp b/common/exception/EndOfFile.hpp index 59ffa06625c776827c62116a4ecc59bd3831503c..20d37bb54339e67c6e909557b270aab5bc0cafb7 100644 --- a/common/exception/EndOfFile.hpp +++ b/common/exception/EndOfFile.hpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/Exception.hpp b/common/exception/Exception.hpp index 0bf77aa29eb282060a72583712ccdbd349bbb3b3..b45aeccbd1061bc5d6962479b4aa6489c7a40e69 100644 --- a/common/exception/Exception.hpp +++ b/common/exception/Exception.hpp @@ -26,7 +26,7 @@ namespace cta { namespace exception { /** * class Exception - * A simple exception used for error handling in castor + * A simple exception used for error handling in cts */ class Exception : public std::exception { public: diff --git a/common/exception/ExceptionTest.cpp b/common/exception/ExceptionTest.cpp index 18bca5efb1b2048a311ba5bbc94e9a5fc6d6c998..fe8fe728bead679dbba0613a575ecaa17cbfa067 100644 --- a/common/exception/ExceptionTest.cpp +++ b/common/exception/ExceptionTest.cpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/Exception.hpp" #include "common/exception/Errnum.hpp" diff --git a/common/exception/InvalidArgument.cpp b/common/exception/InvalidArgument.cpp index c9b7e7d390c8081afb7c70c7caa724f8ecc12f10..79abc45ee803effc75ae92aca4fec97da1499f8c 100644 --- a/common/exception/InvalidArgument.cpp +++ b/common/exception/InvalidArgument.cpp @@ -1,26 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ // Include Files diff --git a/common/exception/InvalidArgument.hpp b/common/exception/InvalidArgument.hpp index 290a684e61c4692aba394f0c5996173a3de32a82..cea7a6077764d22d7507e63dc8a627336ee3de52 100644 --- a/common/exception/InvalidArgument.hpp +++ b/common/exception/InvalidArgument.hpp @@ -1,26 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * Invalid argument exception - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/InvalidConfigEntry.cpp b/common/exception/InvalidConfigEntry.cpp index 13d9d2d6214452efb26ff9c6fd56b86e1c1aa12b..8ed4781bc40472eac1024ce1d7a4ae5ef6ca3053 100644 --- a/common/exception/InvalidConfigEntry.cpp +++ b/common/exception/InvalidConfigEntry.cpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/InvalidConfigEntry.hpp" diff --git a/common/exception/InvalidConfigEntry.hpp b/common/exception/InvalidConfigEntry.hpp index 4d0b379e943aa20030804822162dd57409ef3738..dd431108da72bc160e5efc88128927063f8d816f 100644 --- a/common/exception/InvalidConfigEntry.hpp +++ b/common/exception/InvalidConfigEntry.hpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/MemException.hpp b/common/exception/MemException.hpp index bdbaa188dfd914bb58d30471202f2f541e443569..6186dc47c6314e131247d61eafa074f6cc0d1724 100644 --- a/common/exception/MemException.hpp +++ b/common/exception/MemException.hpp @@ -1,26 +1,21 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #pragma once #include "common/exception/Exception.hpp" #include <string> diff --git a/common/exception/MissingOperand.cpp b/common/exception/MissingOperand.cpp index 9c447336c5561206fc515087ca2eb543ad509498..e505c586ac01fd3b612aaaff87c0d81a48ca3508 100644 --- a/common/exception/MissingOperand.cpp +++ b/common/exception/MissingOperand.cpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/MissingOperand.hpp" diff --git a/common/exception/MissingOperand.hpp b/common/exception/MissingOperand.hpp index be0d757b2ba502505e6a9e7fcaece087358b996e..cf43fdfc49fa5d48aefa2f15ea110294389e4eed 100644 --- a/common/exception/MissingOperand.hpp +++ b/common/exception/MissingOperand.hpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/NoEntry.cpp b/common/exception/NoEntry.cpp index 6e2768b9d629c8bfbb1da4bddca17c629aa175cc..861f297bbbfd12b2eae5f329c902561d87dd72c4 100644 --- a/common/exception/NoEntry.cpp +++ b/common/exception/NoEntry.cpp @@ -1,28 +1,21 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ -// Include Files #include <errno.h> #include "common/exception/NoEntry.hpp" diff --git a/common/exception/NoEntry.hpp b/common/exception/NoEntry.hpp index 5535161199e415d14f5a772cb59d923c51232fe3..909e595e7d0078a58e30b752a851a679be5cfaa7 100644 --- a/common/exception/NoEntry.hpp +++ b/common/exception/NoEntry.hpp @@ -1,26 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * NoEntry exception - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/NoPortInRange.cpp b/common/exception/NoPortInRange.cpp index 093ab55a1bec648c606968f668f4646a76fe5152..c2117e8e58c7062c2992257face0aa1fe6579993 100644 --- a/common/exception/NoPortInRange.cpp +++ b/common/exception/NoPortInRange.cpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/NoPortInRange.hpp" diff --git a/common/exception/NoPortInRange.hpp b/common/exception/NoPortInRange.hpp index 6ffe7e513dd9d7ed6707d4835ecc4ace7fd497b4..98278f00a9e07c18d44529530fa68335535564ef 100644 --- a/common/exception/NoPortInRange.hpp +++ b/common/exception/NoPortInRange.hpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/NotAnOwner.cpp b/common/exception/NotAnOwner.cpp index f727ffc9075492f589258ed93e63aba113d86860..c9a36f3ec1dabcacd606ee46d1401a247b281026 100644 --- a/common/exception/NotAnOwner.cpp +++ b/common/exception/NotAnOwner.cpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/NotAnOwner.hpp" diff --git a/common/exception/NotAnOwner.hpp b/common/exception/NotAnOwner.hpp index 1f3151a2a7d1046525e108b0e8aae81f4f8e7fd0..fae60efe756409d02f86eb5c733024d701ead50a 100644 --- a/common/exception/NotAnOwner.hpp +++ b/common/exception/NotAnOwner.hpp @@ -1,25 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/OutOfMemory.cpp b/common/exception/OutOfMemory.cpp index 9c829acadb8cec5ea841ed9dc40d4f8d3b42dbb0..d32183e1e641510adceaefba0fb310b7116646c6 100644 --- a/common/exception/OutOfMemory.cpp +++ b/common/exception/OutOfMemory.cpp @@ -1,28 +1,21 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ -// Include Files #include <errno.h> #include "common/exception/OutOfMemory.hpp" diff --git a/common/exception/OutOfMemory.hpp b/common/exception/OutOfMemory.hpp index 0adc2af62fa2cf550493a29a32c41d0d478bbc5c..ec8942642cb019af0fd87fdb19e3602dbbab5223 100644 --- a/common/exception/OutOfMemory.hpp +++ b/common/exception/OutOfMemory.hpp @@ -1,26 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/TimeOut.cpp b/common/exception/TimeOut.cpp index 4769e17b496030a184f9405986bfdbf12e532ddb..9fe06ce5ae3dd437914b44df0fadb9adb3eacc82 100644 --- a/common/exception/TimeOut.cpp +++ b/common/exception/TimeOut.cpp @@ -1,26 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/TimeOut.hpp" diff --git a/common/exception/TimeOut.hpp b/common/exception/TimeOut.hpp index 8690bb4498682f694c549f252825fdf79d3485ed..4f8ddb8fb052068e7c9c61b0efe5bcab74794c7d 100644 --- a/common/exception/TimeOut.hpp +++ b/common/exception/TimeOut.hpp @@ -1,26 +1,20 @@ -/****************************************************************************** +/* + * The CERN Tape Archive (CTA) project + * Copyright (C) 2015 CERN * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * - * TimeOut error exception - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once