hotspot/src/share/vm/utilities/exceptions.hpp
changeset 15188 3916ac601e04
parent 13732 a9865f5514fc
child 18073 f02460441ddc
equal deleted inserted replaced
15187:fb364e5a0b34 15188:3916ac601e04
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   265 #define THROW_0(name)                       THROW_(name, 0)
   265 #define THROW_0(name)                       THROW_(name, 0)
   266 #define THROW_MSG_0(name, message)          THROW_MSG_(name, message, 0)
   266 #define THROW_MSG_0(name, message)          THROW_MSG_(name, message, 0)
   267 #define THROW_WRAPPED_0(name, oop_to_wrap)  THROW_WRAPPED_(name, oop_to_wrap, 0)
   267 #define THROW_WRAPPED_0(name, oop_to_wrap)  THROW_WRAPPED_(name, oop_to_wrap, 0)
   268 #define THROW_ARG_0(name, signature, arg)   THROW_ARG_(name, signature, arg, 0)
   268 #define THROW_ARG_0(name, signature, arg)   THROW_ARG_(name, signature, arg, 0)
   269 #define THROW_MSG_CAUSE_0(name, message, cause) THROW_MSG_CAUSE_(name, message, cause, 0)
   269 #define THROW_MSG_CAUSE_0(name, message, cause) THROW_MSG_CAUSE_(name, message, cause, 0)
       
   270 #define THROW_MSG_CAUSE_NULL(name, message, cause) THROW_MSG_CAUSE_(name, message, cause, NULL)
   270 
   271 
   271 #define THROW_NULL(name)                    THROW_(name, NULL)
   272 #define THROW_NULL(name)                    THROW_(name, NULL)
   272 #define THROW_MSG_NULL(name, message)       THROW_MSG_(name, message, NULL)
   273 #define THROW_MSG_NULL(name, message)       THROW_MSG_(name, message, NULL)
   273 
   274 
   274 // The CATCH macro checks that no exception has been thrown by a function; it is used at
   275 // The CATCH macro checks that no exception has been thrown by a function; it is used at