KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > protocol > tcm > UnsupportedMessageTypeException


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.net.protocol.tcm;
5
6 /**
7  * @author orion
8  */

9 public class UnsupportedMessageTypeException extends RuntimeException JavaDoc {
10
11   public UnsupportedMessageTypeException(String JavaDoc msg) {
12     super(msg);
13   }
14
15   public UnsupportedMessageTypeException(TCMessageType type) {
16     this("Unsupported Message type: " + type != null ? type.toString() : "null");
17   }
18
19 }
Popular Tags