//
//  Generated by the J2ObjC translator.  DO NOT EDIT!
//  source: android/platform/libcore/ojluni/src/main/java/java/nio/channels/AlreadyBoundException.java
//

#include "J2ObjC_header.h"

#pragma push_macro("INCLUDE_ALL_JavaNioChannelsAlreadyBoundException")
#ifdef RESTRICT_JavaNioChannelsAlreadyBoundException
#define INCLUDE_ALL_JavaNioChannelsAlreadyBoundException 0
#else
#define INCLUDE_ALL_JavaNioChannelsAlreadyBoundException 1
#endif
#undef RESTRICT_JavaNioChannelsAlreadyBoundException

#pragma clang diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"

#if __has_feature(nullability)
#pragma clang diagnostic push
#pragma GCC diagnostic ignored "-Wnullability"
#pragma GCC diagnostic ignored "-Wnullability-completeness"
#endif

#if !defined (JavaNioChannelsAlreadyBoundException_) && (INCLUDE_ALL_JavaNioChannelsAlreadyBoundException || defined(INCLUDE_JavaNioChannelsAlreadyBoundException))
#define JavaNioChannelsAlreadyBoundException_

#define RESTRICT_JavaLangIllegalStateException 1
#define INCLUDE_JavaLangIllegalStateException 1
#include "java/lang/IllegalStateException.h"

@class JavaLangThrowable;

/*!
 @brief Unchecked exception thrown when an attempt is made to bind the socket a
  network oriented channel that is already bound.
 @since 1.7
 */
@interface JavaNioChannelsAlreadyBoundException : JavaLangIllegalStateException

#pragma mark Public

/*!
 @brief Constructs an instance of this class.
 */
- (instancetype __nonnull)init;

// Disallowed inherited constructors, do not use.

- (instancetype __nonnull)initWithJavaLangThrowable:(JavaLangThrowable *)arg0 NS_UNAVAILABLE;

- (instancetype __nonnull)initWithNSString:(NSString *)arg0 NS_UNAVAILABLE;

- (instancetype __nonnull)initWithNSString:(NSString *)arg0
                     withJavaLangThrowable:(JavaLangThrowable *)arg1 NS_UNAVAILABLE;

@end

J2OBJC_EMPTY_STATIC_INIT(JavaNioChannelsAlreadyBoundException)

FOUNDATION_EXPORT void JavaNioChannelsAlreadyBoundException_init(JavaNioChannelsAlreadyBoundException *self);

FOUNDATION_EXPORT JavaNioChannelsAlreadyBoundException *new_JavaNioChannelsAlreadyBoundException_init(void) NS_RETURNS_RETAINED;

FOUNDATION_EXPORT JavaNioChannelsAlreadyBoundException *create_JavaNioChannelsAlreadyBoundException_init(void);

J2OBJC_TYPE_LITERAL_HEADER(JavaNioChannelsAlreadyBoundException)

#endif


#if __has_feature(nullability)
#pragma clang diagnostic pop
#endif

#pragma clang diagnostic pop
#pragma pop_macro("INCLUDE_ALL_JavaNioChannelsAlreadyBoundException")
