blob: 2b6abb41be7f68d625113ac197678b37f8eb0232 [file] [log] [blame]
/*
* Copyright 2006 The Apache Software Foundation or its licensors, as
* applicable.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef Ppr_InvalidOperationException_hpp_
#define Ppr_InvalidOperationException_hpp_
#include "ppr/TraceException.hpp"
namespace apache
{
namespace ppr
{
/*
* Signals that an invalid operation has been attempted.
*/
class InvalidOperationException : public TraceException
{
public:
InvalidOperationException() : TraceException()
{ /* no-op */ } ;
InvalidOperationException(const char *const& msg) : TraceException(msg)
{ /* no-op */ } ;
InvalidOperationException(const char* fileName, int lineNo, const char* msg) : TraceException(msg)
{ /* no-op */ } ;
} ;
/* namespace */
}
}
#endif /*Ppr_IllegalArgumentException_hpp_*/