#ifndef __X10_LANG_NULLPOINTEREXCEPTION_H
#define __X10_LANG_NULLPOINTEREXCEPTION_H

#include <x10rt.h>


#define X10_LANG_RUNTIMEEXCEPTION_H_NODEPS
#include <x10/lang/RuntimeException.h>
#undef X10_LANG_RUNTIMEEXCEPTION_H_NODEPS
namespace x10 { namespace lang { 
class String;
} } 
namespace x10 { namespace lang { 

class NullPointerException : public x10::lang::RuntimeException   {
    public:
    RTT_H_DECLS_CLASS
    
    void _constructor();
    
    static x10aux::ref<x10::lang::NullPointerException> _make();
    
    void _constructor(x10aux::ref<x10::lang::String> message);
    
    static x10aux::ref<x10::lang::NullPointerException> _make(x10aux::ref<x10::lang::String> message);
    
    virtual x10aux::ref<x10::lang::NullPointerException> x10__lang__NullPointerException____x10__lang__NullPointerException__this(
      );
    
    // Serialization
    public: static const x10aux::serialization_id_t _serialization_id;
    
    public: virtual x10aux::serialization_id_t _get_serialization_id() {
         return _serialization_id;
    }
    
    public: virtual void _serialize_body(x10aux::serialization_buffer& buf);
    
    public: static x10aux::ref<x10::lang::Reference> _deserializer(x10aux::deserialization_buffer& buf);
    
    public: void _deserialize_body(x10aux::deserialization_buffer& buf);
    
};

} } 
#endif // X10_LANG_NULLPOINTEREXCEPTION_H

namespace x10 { namespace lang { 
class NullPointerException;
} } 

#ifndef X10_LANG_NULLPOINTEREXCEPTION_H_NODEPS
#define X10_LANG_NULLPOINTEREXCEPTION_H_NODEPS
#ifndef X10_LANG_NULLPOINTEREXCEPTION_H_GENERICS
#define X10_LANG_NULLPOINTEREXCEPTION_H_GENERICS
#endif // X10_LANG_NULLPOINTEREXCEPTION_H_GENERICS
#endif // __X10_LANG_NULLPOINTEREXCEPTION_H_NODEPS
