void InsufficientDimensionsEx::__print_args(std::ostream &os) const { os << "minWidth: " << getExpWidth() << ", minHeight: " << getExpHeight() << "\nWidth: " << getWidth() << ", Height: " << getHeight() << std::endl; }
void OutOfBoundsEx::__print_args(std::ostream &os) const { os << "maxWidth: " << getExpWidth() << ", maxHeight: " << getExpHeight() << "\nWidth: " << getWidth() << ", Height: " << getHeight() << std::endl; }
//Out of Bounds Exception Class print arguments void OutOfBoundsEx::__print_args(std::ostream &os) const { os << OutOfBoundsEx::getName() << "(maxWidth=" << getExpWidth() << ", maxHeight=" << getExpHeight() << ", width=" << getWidth() << ", height=" << getHeight() << ")"; }
//Insufficient Dimensions Exception Class print arguments void InsufficientDimensionsEx::__print_args(std::ostream &os) const { os << InsufficientDimensionsEx::getName() << "(minWidth=" << getExpWidth() << ", minHeight=" << getExpHeight() << ", width=" << getWidth() << ", height=" << getHeight() << ")"; }
void OutOfBoundsEx::__print_args(std::ostream &os) const { os << getName() << ": " << getHeight() << " > " << getExpHeight() << "and/or" << getWidth() << " > " << getExpWidth(); }
void InsufficientDimensionsEx::__print_args(std::ostream &os) const { os << getName() << ": " << getHeight() << " < " << getExpHeight() << "and/or" << getWidth() << " < " << getExpWidth(); }
void OutOfBoundsEx::__print_args(std::ostream &os) const { os << getWidth() << ' ' << getHeight() << " is out of bounds of " << getExpWidth() << ' ' << getExpHeight(); }