VIZ++ Class: OutOfRangeException

 VIZ++ Class Library  VIZ++ Samples  VIZ++ ClassTree 

Source code

/*
 * OutOfRangeException.h 
 * Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


#pragma once

#include <viz++/Exception.h>

namespace VIZ {

class OutOfRangeException :public Exception {

public:
  OutOfRangeException(const char* msg, int error =0)
  :Exception(msg, error) 
  { 
  }
public:
  
  OutOfRangeException(int error, const char* format,...)
  :Exception(error) 
  {
    va_list pos; 
    va_start(pos, format);
    formatMessage(format, pos);
    va_end(pos);
   }

  ~OutOfRangeException() { }
};

}


Last modified: 10 Feb 2017

Copyright (c) 2009-2017 Antillia.com ALL RIGHTS RESERVED.