1 4 package com.tc.net.protocol.tcm; 5 6 9 public class UnsupportedMessageTypeException extends RuntimeException { 10 11 public UnsupportedMessageTypeException(String 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 |