// Path: src/main/java/net/utp4j/channels/UtpSocketState.java
// public enum UtpSocketState {
// 	
// 		/**
// 		 * Indicates that a syn packet has been send.
// 		 */
// 		SYN_SENT,
// 		
// 		/**
// 		 * Indicates that a connection has been established.
// 		 */
// 		CONNECTED,
// 		
// 		/**
// 		 * Indicates that no connection is established.
// 		 */
// 		CLOSED,
// 		
// 		/**
// 		 * Indicates that a SYN has been recieved but could not be acked.
// 		 */
// 		SYN_ACKING_FAILED, 
// 		
// 		/**
// 		 * Indicates that the fin Packet has been send.
// 		 */
// 		FIN_SEND,
// 		
// 		/**
// 		 * Indicates that a fin was recieved. 
// 		 */
// 		GOT_FIN,
// 		
// }


import java.net.SocketAddress;
import net.utp4j.channels.UtpSocketState;

/* Copyright 2013 Ivan Iljkic
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package net.utp4j.channels.exception;



/**
 * Exception indicates that the channel is in the wrong state. 
 * @author Ivan Iljkic (i.iljkic@gmail.com)
 *
 */
public class ChannelStateException extends RuntimeException {
	

	private static final long serialVersionUID = -6506270718267816636L;
	

// Path: src/main/java/net/utp4j/channels/UtpSocketState.java
// public enum UtpSocketState {
// 	
// 		/**
// 		 * Indicates that a syn packet has been send.
// 		 */
// 		SYN_SENT,
// 		
// 		/**
// 		 * Indicates that a connection has been established.
// 		 */
// 		CONNECTED,
// 		
// 		/**
// 		 * Indicates that no connection is established.
// 		 */
// 		CLOSED,
// 		
// 		/**
// 		 * Indicates that a SYN has been recieved but could not be acked.
// 		 */
// 		SYN_ACKING_FAILED, 
// 		
// 		/**
// 		 * Indicates that the fin Packet has been send.
// 		 */
// 		FIN_SEND,
// 		
// 		/**
// 		 * Indicates that a fin was recieved. 
// 		 */
// 		GOT_FIN,
// 		
// }


// Path: src/main/java/net/utp4j/channels/exception/ChannelStateException.java
import java.net.SocketAddress;
import net.utp4j.channels.UtpSocketState;

/* Copyright 2013 Ivan Iljkic
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package net.utp4j.channels.exception;



/**
 * Exception indicates that the channel is in the wrong state. 
 * @author Ivan Iljkic (i.iljkic@gmail.com)
 *
 */
public class ChannelStateException extends RuntimeException {
	

	private static final long serialVersionUID = -6506270718267816636L;
	

	private UtpSocketState state;
