001    /***** Copyright (c) 1999 Object Management Group. Unlimited rights to 
002           duplicate and use this code are hereby granted provided that this 
003           copyright notice is included.
004    *****/
005    
006    package org.omg.CORBA.portable;
007    
008    public class ApplicationException extends Exception {
009    
010        private String _id;
011        private org.omg.CORBA.portable.InputStream _is;
012    
013        public ApplicationException(String id,
014                    org.omg.CORBA.portable.InputStream is) {
015            _id = id;
016            _is = is;
017        }
018    
019        public String getId() {
020            return _id;
021        }
022    
023        public InputStream getInputStream() {
024            return _is;
025        }
026    
027    }