/protocols/ss7/m3ua/api/src/main/java/org/mobicents/protocols/ss7/m3ua/parameter/ErrorCode.java
Java | 54 lines | 22 code | 3 blank | 29 comment | 0 complexity | fa0c096d793f0b9ac4c83356718077cd MD5 | raw file
1/* 2 * JBoss, Home of Professional Open Source 3 * Copyright 2011, Red Hat, Inc. and individual contributors 4 * by the @authors tag. See the copyright.txt in the distribution for a 5 * full listing of individual contributors. 6 * 7 * This is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU Lesser General Public License as 9 * published by the Free Software Foundation; either version 2.1 of 10 * the License, or (at your option) any later version. 11 * 12 * This software is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this software; if not, write to the Free 19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 */ 22 23package org.mobicents.protocols.ss7.m3ua.parameter; 24 25/** 26 * The Error Code parameter indicates the reason for the Error Message. 27 * 28 * @author amit bhayani 29 * 30 */ 31public interface ErrorCode extends Parameter { 32 public static final int Invalid_Version = 0x01; 33 // public static final int Not_Used_in_M3UA = 0x02; 34 public static final int Unsupported_Message_Class = 0x03; 35 public static final int Unsupported_Message_Type = 0x04; 36 public static final int Unsupported_Traffic_Mode_Type = 0x05; 37 public static final int Unexpected_Message = 0x06; 38 public static final int Protocol_Error = 0x07; 39 // public static final int Not_Used_in_M3UA2 = 0x08; 40 public static final int Invalid_Stream_Identifier = 0x09; 41 public static final int Refused_Management_Blocking = 0x0d; 42 public static final int ASP_Identifier_Required = 0x0e; 43 public static final int Invalid_ASP_Identifier = 0x0f; 44 public static final int Invalid_Parameter_Value = 0x11; 45 public static final int Parameter_Field_Error = 0x12; 46 public static final int Unexpected_Parameter = 0x13; 47 public static final int Destination_Status_Unknown = 0x14; 48 public static final int Invalid_Network_Appearance = 0x15; 49 public static final int Missing_Parameter = 0x16; 50 public static final int Invalid_Routing_Context = 0x19; 51 public static final int No_Configured_AS_for_ASP = 0x1a; 52 53 public int getCode(); 54}