25 #ifndef SHARE_VM_UTILITIES_VMERROR_HPP |
25 #ifndef SHARE_VM_UTILITIES_VMERROR_HPP |
26 #define SHARE_VM_UTILITIES_VMERROR_HPP |
26 #define SHARE_VM_UTILITIES_VMERROR_HPP |
27 |
27 |
28 #include "utilities/globalDefinitions.hpp" |
28 #include "utilities/globalDefinitions.hpp" |
29 |
29 |
30 |
30 class Decoder; |
31 class VM_ReportJavaOutOfMemory; |
31 class VM_ReportJavaOutOfMemory; |
32 |
32 |
33 class VMError : public StackObj { |
33 class VMError : public StackObj { |
34 friend class VM_ReportJavaOutOfMemory; |
34 friend class VM_ReportJavaOutOfMemory; |
|
35 friend class Decoder; |
35 |
36 |
36 enum ErrorType { |
37 enum ErrorType { |
37 internal_error = 0xe0000000, |
38 internal_error = 0xe0000000, |
38 oom_error = 0xe0000001 |
39 oom_error = 0xe0000001 |
39 }; |
40 }; |